1, df command
Displays partition occupancy:
-h option: user-friendly display:
2, du statistical directory or file size:
-s command: check the total memory footprint of all the files
3, the file system repair command: fask
4, disk status display commands: dumpe2fs
5, fdisk command:
Check disk partitioning:
6, to see mount disk usage:
Directly into the mount command with no arguments can be:
After the file system to use the required format.
7, mkfs command:
mkfs -t file system format (ext4, vfat, ntfs etc.) size of the block device file name (optional)
mkfs -t vfat /dev/sda1
The / dev / sda1 formatted as FAT32.