Multiple choice technology operating systems

$ find . -type f -mtime 1

  1. List all ordinary files in current directory that have been modified within the last 1 minute

  2. List all ordinary files in current directory that have been modified within the last 1 hour

  3. List all ordinary files in current directory that have been modified within the last 24 hours

  4. List all ordinary files in current directory that have been modified within the last 48 hours

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

The Unix find command with -mtime 1 finds files modified within the last 24 hours. The -mtime option measures time in 24-hour periods, so -mtime 1 means files modified 1 to 2 days ago. Option C is correct as it specifies 24 hours, while options A and B incorrectly suggest minutes and hours.