The command below will look at the size of all folders and display the top 20 largest.
sudo du / 2>/dev/null | sort -rn | head -n 20
(Edited to fix incorrect command)
The command below will look at the size of all folders and display the top 20 largest.
sudo du / 2>/dev/null | sort -rn | head -n 20
(Edited to fix incorrect command)