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, egCode: [Select] ls -l | awk '{print $5, $9}'
Your experience on this site will be improved by allowing cookies. Read Cookie Policy