Cheatsheet: Difference between revisions
Content added Content deleted
(→CPU) |
(→HDD) |
||
Line 956: | Line 956: | ||
=== HDD === |
=== HDD === |
||
lsblk ==> List Block Devices only in a tree structure |
|||
du |
du |
||
df -h |
df -h |
||
Filesystem Type Size Used Avail Use% Mounted on |
Filesystem Type Size Used Avail Use% Mounted on |
||
/dev/sda4 ext4 77G 51G 22G 71% / |
/dev/sda4 ext4 77G 51G 22G 71% / |
||
df -T -h ==> List Filesystem type as well |
|||
df -t ext4 ==> Only see ext4 file system |
|||
lsblk ==> Lists out all the storage blocks, which includes disk partitions and optical drives |
|||
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT |
|||
sda 8:0 0 1.8T 0 disk |
|||
├─sda1 8:1 0 500M 0 part /boot/efi |
|||
├─sda2 8:2 0 128M 0 part |
|||
sudo fdisk -l ==> Partition & FS Type details |
sudo fdisk -l ==> Partition & FS Type details |