DIGIT-ARC read-only archive · snapshot: July 23, 2026

files having particular size ??

4 posts · originally from https://geek.digit.in/community/threads/files-having-particular-size.28708/

L
legolas Original post #1
May 22, 2006 at 2:56 PM
hi,

in linux, how can i find the number of files and the file name which has size, say <= 10 KB??? i just wanted to list the total number of files and their names.... can any1 tell how to do this? thk you...

/legolas
vignesh
vignesh #2
May 22, 2006 at 3:42 PM
Use grep.. You can use wordcount to find the number of files...

ls -l | wc -l

For < 10kb you can do this

blocksize ot s or k with ls
L
legolas #3
May 22, 2006 at 5:16 PM
could u give a more detailed explanantion or better the syntax of it? so that i can use it directly?
vignesh
vignesh #4
May 22, 2006 at 7:17 PM
For all the options avaialable for ls type ls --help or man help or info help....