Wednesday, December 22, 2010

Read File Names from ls -l

Command to print file names from ls -l output:

ls -l | while read a b c d e f g h i ; do echo $i; done