Count Files in a Folder

Unlike Windows Dos, here is a method to show number of files in a folder at the bash.

$ls -1 | wc -l
Advertisements