Linux/Bash
Disk Commands
Manage disk space and filesystems. Learn to check usage, mount drives, and find large files consuming your storage.
11 commands
Pro Tips
Use 'df -h' for human-readable disk space and 'du -sh *' to find what's using space in a directory.
Use 'ncdu' for an interactive disk usage explorer - much easier than manual 'du' commands.
'lsblk' shows block devices in a tree format - great for understanding disk layout.
Common Mistakes
Formatting or partitioning the wrong disk destroys data. Always verify device names with 'lsblk'.