November 25, 2009

question about ls output

ok. so i'm just learning so pardon me please.

i am entering:

ls -aF

which should return everything in my current directury, hidden or not, and whether its a file, directory or symb link. when i do this i tally up the directories then enter in the following

ls -adl

which should return all (hidden or not) directories in a long list format.

PROBLEM IS the numbers of long list dont match up with my tally in ls -aF. as a matter of fact, if there are 16 items in ls -aF, 16 items show up in ls -adl as well, not just the directories.

just wondering why this is.

thanks. hope that made sense.

Click Here!