command: du
purpose: du - estimate file space usage

syntax: du [OPTION]... [FILE]...

examples:

1. To display the disk usage of /home/mercury in
    human readable format

    $ du -h /home/mercury

2. To display the disk usage of all files and directories
    in human readable format

    $ du -ah /home/mercury

3. To display total disk usage size of directory in human readable
    format

    $ du -sh /home/mercury

4. To display disk usage in kb, mb in human readable format
    respectively

    $ du -k /home/mercury
    $ du -mh /home/mercury

5. To display the disk usage based on modification of time

    $ du -ah --time /home/mercury

6. To display information about du command

    $ du --help

regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines

Reply via email to