Disk Usage Flashcards

1
Q

df -h

A

Show free and used space on mounted filesystems (in Humanese)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

df -i

A

Show free and used inodes on mounted filesystems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

fdisk -l

A

Display disks partitions sizes and types

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

du -ah

A

Display disk usage for all files and directories in Humanese

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

du -sh

A

Display total disk usage off the current directory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

du -a directory

A

Display size of all files in “directory”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

findmnt

A

List all mounted file systems with details

How well did you know this?
1
Not at all
2
3
4
5
Perfectly