Multiple choice

Find all files in the given directory (and subs) which have been modified in the last 24 hours.

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

  2. find /home -mtime -1

  3. du -sh ./*

  4. df -h

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

The 'find' command is used to search for files. The '-mtime -1' flag filters for files modified within the last 24 hours (1 day).