Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

count number of files linux

ls | wc -l #Count files on current directory
ls path/to/dir | wc -l #Count files on specific directory path
 
PREVIOUS NEXT
Tagged: #count #number #files #linux
ADD COMMENT
Topic
Name
5+2 =