Find The Largest Files Using du Command On Linux

In order to find a largest files on your directory on linux might you need to used du command to help you found the largest files which consume a lot of space on your hard drive. It's really helpfull when your machine earn a lot of data every day you have to continuously monitor the space if you don't want your system broke by disk full issue.

sysadmin@localhost:~$ du
4       ./Templates
4       ./Music
4       ./Public
4       ./Documents/Work
8       ./Documents/School/Engineering
8       ./Documents/School/Math 
8       ./Documents/School/Art 
28      ./Documents/School
1128    ./Documents
4       ./Pictures
4       ./Downloads
4       ./Desktop
4       ./Videos
4       ./.cache
1180    .

Another way to earn human readable because the output show us in MB
sysadmin@andre:~$ du -sh /var/log/
1.3M    /var/log/ 

Tulis komentar anda... Conversion Conversion Emoticon Emoticon

Thanks for your comment