hi all
plz help in listing the files with size in bytes.
thnks
-Bali
find . -size -1024c -print
Find all the files whose size is less than 1024 bytes
by default ls lists the file size in bytes
ls -l | awk '{print $9" - "$5}'
If the question was to list the files in their increasing order of their sizes then here is the command
ls -l | awk '{print $5 "\t\t" $9}' | sort -n
du -sh `ls -l `