Notes to Self

Alex Sokolsky's Notes on Computers and Programming

Disk Commands


> df -h
df: /run/user/1000/doc: Operation not permitted
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           781M  1.9M  779M   1% /run
/dev/nvme0n1p2  457G   56G  379G  13% /
tmpfs           3.9G  123M  3.7G   4% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/nvme0n1p1  511M   15M  497M   3% /boot/efi
tmpfs           781M   52K  781M   1% /run/user/1000


du estimates file space usage.

Show how much space is used by directories in this folder:

du -sh -- *