Home News How to Count Number of Files and Subdirectories inside a Given Directory By September 13, 2016 The easiest way to count number of files and subdirectories in a directory using a tree command, which is best known for displaying files and directories in tree-like form. Complete Story Facebook Twitter Linkedin Email Print Previous articleSolus Stands on Its Own Next articleSnapd 2.14.2 Snappy Daemon Released to Ubuntu 16.04 LTS and Fedora 24 (COPR) Get the Free Newsletter! Subscribe to Developer Insider for top news, trends, & analysis Email Address By subscribing, you agree to our Terms of Use and Privacy Policy. Subscribe Must Read Developer How to Install Gitea DevOps Platform using Docker on Debian 12 Blog 15 Best Free and Open-Source Linux File Managers Blog How to Install HandBrake on Ubuntu and Linux Mint Security How to Install Bitwarden on Manjaro Developer How to Install Apache Spark on Ubuntu 22.04