Temp
Nothing to see here. Move along now ...
- Number of files in a directory.
ls | wc -l
ls does not give you a file count. To get a file count you can pipe ls into the wc command.
find . -type f | wc -l
This command did much the same but the resultant number was a bit higher. Maybe included directory / hidden files? Dunno.
Return home
