Check File Size Command on Linux
Posted by Planet Malaysia on March 11, 2009
The “ls” command is the first command came into the my mind which used for files or directory listing on Linux. Beside that, you can try still check file size on Linux as show below:
- ls -l FILENAME|/bin/awk -F” ” ‘{print$5}’
- ls -l FILENAME | cut -d ” ” -f 5
- du -b FILENAME
- stat -c%s FILENAME
- cat FILENAME |wc -c
Please let me know if you have better idea.
Possibly Related Posts:
- VMware Workstation 7 Serial Key
- WP Contact Form III – You do not have sufficient permissions to access this page Error
- WP Cache Error “semget() failed: Permission denied” Solved
- Google Public DNS Down?
- lppasswd: Unable to open passwd file: Permission denied
Comments
Leave a Reply