Published
- 1 min read
bash command to find the number of files in a directory
The solution for this is noted below
bash command to find the number of files in a directory
Solution
ls -1q | wc -l
Try other methods by searching on the site. That is if this doesn’t work