Viewing number of files in directory

Posted on 02-11-2016 by Nadir Latif


Source: https://linuxconfig.org/wc-1-manual-page

Use following command for fetching number of files in directory: ls | wc -l