21 Counting Files In A Directory Listing n00bish question: How do you actually count the number of files in a directory listing with ls? I assume it is ls | [some command] but I'm not sure.