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:
- How to add Dell PERC Drivers into VMware Converter Cold Clone ISO
- Top 10 Free Anti Virus
- How to Install Webmin on OpenFiler
- Microsoft SQL 2008 Agent not starts
- VMware Workstation 7 Serial Key
Comments
Leave a Reply