Answers for "number of files directory command line"

1

terminal get number of files in dir

#Type in terminal in the directory:

ls -1 | wc -l
Posted by: Guest on July-22-2021
2

command to know number of files in a directory

ls | wc -l
Posted by: Guest on February-26-2020

Code answers related to "number of files directory command line"

Browse Popular Code Answers by Language