Answers for "assing command to a variable"

0

assing command to a variable

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

echo $abc 
file.txt file2.txt file3.txt
Posted by: Guest on April-20-2021

Code answers related to "assing command to a variable"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language