Timedora
Free Online Flashcard Deck

Disk Usage Commands: Linux and Windows Free Online Flashcards

Study Disk Usage Commands: Linux and Windows with 12 free online flashcards. Review key terms, definitions, and concepts with this interactive flashcard deck.

12 cards
01
Front

Which Linux command shows mounted file-system usage in readable units?

Back

`df -h` reports space usage for mounted file systems in readable units.

02
Front

What does `df -h /home` report?

Back

`df -h /home` reports usage for the file system containing `/home`.

03
Front

Which command summarizes the readable size of `~/Documents`?

Back

`du -sh ~/Documents` estimates the space used by that directory and its contents, summarized in readable units.

04
Front

What do `-s` and `-h` mean in `du -sh`?

Back

In `du -sh`, `-s` requests a summary and `-h` selects readable units.

05
Front

Does `df` report the size of a particular directory?

Back

`df` reports file-system-level usage; it does not report the size of a particular directory.

06
Front

Why can `du` and `df` report different disk-usage totals?

Back

`du` counts accessible files within the selected directory, while `df` reports allocated space across the containing file system.

07
Front

Why might `df`'s `Avail` be less than `Size - Used`?

Back

`Avail` is space available to users; it can be less than `Size - Used` because some space may be reserved for system use.

08
Front

In `df`, what do `Size` and `Used` describe?

Back

`Size` is the file-system capacity, and `Used` is the space used.

09
Front

What can a high `Use%` value tell you—and what can it not tell you?

Back

`Use%` summarizes the ratio of used space; a high value signals a need to investigate but does not identify the cause.

10
Front

Which PowerShell command reports Windows volume size and remaining space?

Back

Use `Get-Volume` to report Windows volume size and remaining space.

11
Front

What do `Size` and `SizeRemaining` mean in `Get-Volume`?

Back

In `Get-Volume`, `Size` is the total volume size and `SizeRemaining` is the free space.

12
Front

How do you select drive C with `Get-Volume`?

Back

`Get-Volume -DriveLetter C` selects the volume for drive C.