Post History
If you don't mind installing something I recommend ncdu. It sorts the directories and files by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as yo...
Answer
#2: Post edited
If you don't mind installing something I recommend `ncdu`. It sorts the directories by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as you go.- ```
- ncdu 1.19 ~ Use the arrow keys to navigate, press ? for help
- --- / --------------------------------------------------------------------------
- 14.4 GiB [###########] /home
- 8.3 GiB [###### ] /var
- 5.9 GiB [#### ] /usr
- 1.6 GiB [# ] /opt
- 180.6 MiB [ ] /boot
- 77.8 MiB [ ] /root
- 12.2 MiB [ ] /etc
- 6.6 MiB [ ] /tmp
- 3.6 MiB [ ] core
- 4.0 KiB [ ] /snap
- 0.0 B [ ] /media
- 0.0 B [ ] /mnt
- @ 0.0 B [ ] initrd.img.old
- @ 0.0 B [ ] initrd.img
- @ 0.0 B [ ] vmlinuz.old
- *Total disk usage: 30.5 GiB Apparent size: 29.2 GiB Items: 667060
- ```
- There should be a package for it by default in every distribution.
- If you don't mind installing something I recommend `ncdu`. It sorts the directories and files by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as you go.
- ```
- ncdu 1.19 ~ Use the arrow keys to navigate, press ? for help
- --- / --------------------------------------------------------------------------
- 14.4 GiB [###########] /home
- 8.3 GiB [###### ] /var
- 5.9 GiB [#### ] /usr
- 1.6 GiB [# ] /opt
- 180.6 MiB [ ] /boot
- 77.8 MiB [ ] /root
- 12.2 MiB [ ] /etc
- 6.6 MiB [ ] /tmp
- 3.6 MiB [ ] core
- 4.0 KiB [ ] /snap
- 0.0 B [ ] /media
- 0.0 B [ ] /mnt
- @ 0.0 B [ ] initrd.img.old
- @ 0.0 B [ ] initrd.img
- @ 0.0 B [ ] vmlinuz.old
- *Total disk usage: 30.5 GiB Apparent size: 29.2 GiB Items: 667060
- ```
- There should be a package for it by default in every distribution.
#1: Initial revision
If you don't mind installing something I recommend `ncdu`. It sorts the directories by size, you can exclude other mounts, navigate the tree directly and even delete files and folders as you go. ``` ncdu 1.19 ~ Use the arrow keys to navigate, press ? for help --- / -------------------------------------------------------------------------- 14.4 GiB [###########] /home 8.3 GiB [###### ] /var 5.9 GiB [#### ] /usr 1.6 GiB [# ] /opt 180.6 MiB [ ] /boot 77.8 MiB [ ] /root 12.2 MiB [ ] /etc 6.6 MiB [ ] /tmp 3.6 MiB [ ] core 4.0 KiB [ ] /snap 0.0 B [ ] /media 0.0 B [ ] /mnt @ 0.0 B [ ] initrd.img.old @ 0.0 B [ ] initrd.img @ 0.0 B [ ] vmlinuz.old *Total disk usage: 30.5 GiB Apparent size: 29.2 GiB Items: 667060 ``` There should be a package for it by default in every distribution.