Bird
0
0

What does the command find /var/log -mtime +0 -type f list?

medium📝 Command Output Q5 of 15
Linux CLI - Searching and Finding
What does the command find /var/log -mtime +0 -type f list?
AAll files in /var/log
BFiles modified exactly today
CFiles modified less than 24 hours ago
DFiles modified more than 24 hours ago
Step-by-Step Solution
Solution:
  1. Step 1: Understand -mtime +0

    This means files modified more than 0 days ago (i.e., older than 24 hours).
  2. Step 2: Apply to /var/log files

    Lists files older than 1 day in /var/log.
  3. Final Answer:

    Files modified more than 24 hours ago -> Option D
  4. Quick Check:

    -mtime +0 = Older than 24 hours [OK]
Quick Trick: Plus zero means older than 1 day [OK]
Common Mistakes:
  • Thinking +0 means today
  • Confusing less than and more than

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Linux CLI Quizzes