Latest News

How to Find Out Top Directories and Files

  • Ivan Ivanov
  • Linux
How to Find Out Top Directories and Files

As a Linux Administrator, you must periodically check which files and folders are consuming more disk space. It is very necessary to find the unnecessary junks and free up them from your hard disk.


Some of you would like to display the above result in a human-readable format. i.e you might want to display the largest files in KB, MB, or GB.


# du -hs * | sort -rh | head -5
34 seconds