Sometimes I forget about it. A collection of commands compiled for you.
$ df -h
--H option to display MB or GB instead of bytes
$ du -d 1 -h
--- d + hierarchy, with the disk space of the directory from the current location --H option to display MB or GB instead of bytes
View disk & partition information
lsblk
I summarized it in another article https://qiita.com/katzueno/items/0a63b46c69602ecdeae5
How to set after disk capacity with EBS of AWS EC2 (Amazon Linux & Amazon Linux 2) https://qiita.com/katzueno/items/4ceb93cc14bbab4e3064
Recommended Posts