Resize ext4 filesystem linux
Grow ext4 to fill the partition (after partition resize)
resize2fs /dev/sdb1
more linux
all 133 commands →
Show filesystem info
tune2fs -l /dev/sda1 | grep -E 'Block (count|size)|Mount count|Last mount'
Disk usage with depth
du -h --max-depth=2 /var | sort -rh | head -20
Free disk space summary
df -hT --type=ext4 --type=xfs --type=btrfs
Interactive partition editor
fdisk /dev/sdb
Partition with parted (GPT)
parted /dev/sdb -- mklabel gpt mkpart primary ext4 1MiB 100%