How to check the size of file/directory ?
2014-07-22 15:06
495 查看
du filename/directory : show in byte
du -h filename/directory : show in M or G
du -ah directory : show the size of every file within the directory, as well as the total size of that directory.
du -h filename/directory : show in M or G
du -ah directory : show the size of every file within the directory, as well as the total size of that directory.
相关文章推荐
- How to get the size of file in C++ - 在C++中如何获取文件的大小
- Perl script to check the length of a file
- How to Shrink the Datafile of Temporary Tablespace
- how to solve the problem when you have chmod the directory to 777 but the apache still can not write file
- 奇葩问题:This file could not be checked in because the original version of the file on the server was moved or deleted. A new version of this file has been saved to the server, but your check-in comments were not saved
- How to redirect the output of DBMS_OUTPUT.PUT_LINE to a file
- Linux - How to remove the new line at the end of file when using vim
- How to calculate the MD5 hash of a large file in C?
- (iPhone/iPad开发)how to browse the document directory of iOS Devices
- How To Check the Usage of Active Undo Segments in AUM
- How to determine the size of an object of class?
- How to Fix “HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory”
- 如何给上传控件上色【HOW TO SET CSS FOR THE CONTROL OF FILEUPLOAD】
- how to estimate the size of object
- how to get the space size of some tables in one database?
- how to get the space size of some tables in one database?
- [BTS] How to check the version of BizTalk
- ios::ate places the get-position pointer at the file end, enable tellg() to return the size of the f
- How to get the Diagnostic data and debug file of Sales Order pick release
- Attempting to set the permissions of `/root/.local/share/recently-used.xbel’, but failed: No such file or directory