1.

Solve : get file size in ls command?

Answer»

how can i GET FILE size in ls command in UNIX ......

thanxcheck the ls MAN page. the -s option can print the size of files in block.
another way is to combine with awk, eg
Code: [Select] ls -l | awk '{print $5, $9}'



Discussion

No Comment Found