The following command shows the top 10 biggest directories in the current tree.
du -hsx * | sort -hr | head -n 10
The following command shows the top 10 biggest directories in the current tree.
du -hsx * | sort -hr | head -n 10
du is a command that displays the size of files and folders.
The * will give a summary per file and folder in the current directory.
sort is a command that sorts alphabetically every line pass to it.
head is a command that displays the n first lines pass to it.