how to print output of a command linux
printf "$dir1 $dir2 $(tail -n -1 pes.log) \n" >> ../opt_done.txt
Are there any code examples left?
New code examples in category Shell/Bash
printf "$dir1 $dir2 $(tail -n -1 pes.log) \n" >> ../opt_done.txt