Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to print output of a command linux

printf "$dir1 $dir2 $(tail -n -1 pes.log) 
" >> ../opt_done.txt 
 
PREVIOUS NEXT
Tagged: #print #output #command #linux
ADD COMMENT
Topic
Name
9+6 =