Multiple choice

Find the size of every directory in your current directory.

  1. du -sh ./*

  2. df -h

  3. basename -s .jpg -a *.jpg | xargs -n1 -i cp {}.jpg {}_bk.jpg

  4. find /home -mtime -1

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

The 'du' command (disk usage) estimates file space usage. The '-s' flag provides a summary, and '-h' makes it human-readable.