display full line instead of single word in for loop
I am brand new to linux, and trying to do a few things with scripts. My question is in using a for loop, how I can get it to display a full line instead of a single word. For example:
for file in `ls -l`:do
echo $file
done
If anyone knows how to get the $file variable to display a full line instead of a single word I would greatly appreciate it.
|