LinuxOpen SourceTips and TricksTutorialLinux: How to Count Number of File in a Directory kumkum14 years ago14 years ago01 mins Execute this command: $ ls -1 /home/user | wc -l Post navigation Previous: Setup Squid MRTG on Ubuntu 10.10Next: Read / Write NTFS on Mac OSX Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Comment * Name * Email * Website Save my name, email, and website in this browser for the next time I comment. Δ This site uses Akismet to reduce spam. Learn how your comment data is processed.