Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

assing command to a variable

abc=`ls -l | awk '{print($9) }'`

echo $abc 
file.txt file2.txt file3.txt 
 
PREVIOUS NEXT
Tagged: #assing #command #variable
ADD COMMENT
Topic
Name
9+3 =