so here is a print out of my problematic command followed by your successful command:
ast login: Wed Nov 25 12:30:03 on ttys000
sgilis-macbook:~ carlos$ ls -aF
./ .lesshst Music/
../ Desktop/ Pictures/
.CFUserTextEncoding Documents/ Public/
.DS_Store Downloads/ Sites/
sgilis-macbook:~ carlos$ ls -adl
drwxr-xr-x+ 16 carlos staff 544 Nov 24 19:03 .
sgilis-macbook:~ carlos$ ls -aF|grep /|nl
[quote]The first command ls -aF states to (a) show all files types in the current directory and to (F) append a file type designator.
The second command ls -adl states to (a) show all file types in the current directory, (d) show only the summary for the current directory and (l) display in list form with file details. This makes the a and d conflict each other, in which the d argument wins.
No doubt your grep command gave the desired output, but i just dont understand. it seems to me that that in the conflict between (a) and (d) in (ls -adl) its the (a) that wins as opposed to the (d), hence a tally of 16 items vs the twelve. am i right or just missing something?
once again just trying to learn. no doubt the grep command you gave gave the desired results, now i am trying to understand why the other didnt, and the only thing i can come up with is that the a wins over the d hence the 16 item count.
thanks as always