Ubuntu Commands

How to find the size of file using command

du "foldername or filename" It will show in Kilo bytes
Example
du /data/db/
2096132

du -sh "foldername or filename" It will shows to get the numbers "human readable".

Example
du -sh /data/db/
2.0G

No comments:

Post a Comment