Checking disk size and available space in Ubuntu

Here’s a compact list of possible commands. Pick the one you like the most. a) fdisk -l

// Pick the one that works best for you
a) $ fdisk -l
b) $ df -H
c) $ df 
d) $ lsblk
e) $ sudo parted -l
b) df -H
c) df
d) sudo cfdisk
e) sudo parted -l
References:
  • https://www.cyberciti.biz/faq/linux-check-disk-space-command/
  • https://linuxhandbook.com/linux-list-disks/

Leave a Reply

Close Menu