bash:commands:disk_commands
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bash:commands:disk_commands [2021/01/26 15:36] – created peter | bash:commands:disk_commands [2021/01/26 15:37] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== BASH - Commands - Disk Commands ====== | ====== BASH - Commands - Disk Commands ====== | ||
+ | |||
+ | ===== Disk Usage ===== | ||
+ | |||
+ | ^Description^Command^ | ||
+ | |Display disk usage|du -ah| | ||
+ | |Display mount points for all filesystems|findmnt| | ||
+ | |Display total disk usage on the current directory|du -sh| | ||
+ | |Mount a device|mount device-path mount-point| | ||
+ | |Show free inodes on mounted filesystems|df -i| | ||
+ | |Show disk partition sizes and types|fdisk -l| | ||
+ | |Show free space on mounted filesystems|df -h| | ||
+ | |||
+ | ---- | ||
bash/commands/disk_commands.1611675362.txt.gz · Last modified: 2021/01/26 15:36 by peter