Counting the number of files in Linux is made possible using the wc command! Count number of files and directories in current directory Using wc in combination with ls, the number of files and directories in the current directory can be displayed: 1ls | wc -lOutput: 1~/how.wtf/content/post$ ls | wc -l 2120To include hidden files and directories, use the -A ls option. 1ls -A | wc -lCount number of files in current directory Using find and wc, the number of files in the current directory can be...