Click to See Complete Forum and Search --> : ls command


kevin79
08-21-2001, 01:55 PM
Quick question for you all. How do you get a detailed listing of a directory with the ls command? I want to know the total number of files in a directory.

Thanks!

Disciple
08-21-2001, 01:57 PM
I think all you have to do is switch to that dir and hit "Tab" twice and it will ask you if you want to display the total # of files. Not sure for the "ls" command though. =/

Strike
08-21-2001, 02:12 PM
ls -l

wittysaint
08-21-2001, 02:49 PM
ls | wc -l

Big_daddy
08-21-2001, 02:51 PM
I like ls -Flat|more