Thursday, 28 June 2012

To check the size of a directory or file in Unix

du -sk <File/Dir Name>   -------- This command will gives the size in only Kilo Bytes

du –h <File/Dir Name>   -------- This command will gives the size in MBytes/GBytes

No comments:

Post a Comment