
March 11th, 2011, 03:21 PM
|
|
|
|
the -l (ell) option for ls is the long listing, so when the object of that is a directory, it will list the directory ... In the loop you could either use -ld or filter out directories in the loop control if you want to.
__________________
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
|