Multiple choice technology web technology

What command you can use to check the disk space used in your partition?

  1. df

  2. df -k

  3. du

  4. None of these

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

Both df and df -k show disk space usage for partitions (with -k specifying kilobytes block sizes). However, in older environments, df -k was specifically taught as the command to show disk space in kilobytes rather than raw blocks. Both are technically correct, but df -k fits the intended answer.