Disk management¶
Show filesystems¶
sudo df -h
Example output:
Filesystem Size Used Avail Use% Mounted on
udev 456M 0 456M 0% /dev
tmpfs 97M 9.4M 87M 10% /run
/dev/vda1 19G 2.6G 16G 15% /
tmpfs 481M 0 481M 0% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 97M 0 97M 0% /run/user/1003
List folders¶
du -h -d 1 | sort -h
Example output:
8.0K ./.ansible
8.0K ./.config
8.0K ./.vim
12K ./.ssh
172K .