Whenever you want to count the files in a directory, you might just visit that directory and start counting the files residing inside it manually. However, when the number of files is very large, then it is not feasible to count them manually. Therefore, in this tutorial, we will be explaining to you the different methods of counting the files in a directory with simple one-liner commands in Linux Mint 21. Methods of Counting the Files in a Directory in Linux Mint 21: If you wish to count the files in a directory of your Linux Mint 21 system, then depending upon your exact intent, you can use any of the following four methods: Method # 1: Listing the Total Number of Files and Sub-Directories only at First Level: When you want to count the total number of files and sub-directories only at the first directory level, then you have..