How to count files in a folder in bash

Cos i will never remember this one and its just come in quite handy:

ls | wc -l

Advertisements