nerdexam
CompTIACompTIA

XK0-005 · Question #1550

XK0-005 Question #1550: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #1550. The question stem and answer options stay visible for context.

System Management

Question

Due to low disk space, a Linux administrator finding and removing all log files that were modified more than 180 days ago. Which of the following commands will accomplish this task?

Options

  • Afind /var/log -type d -mtime +180 -print -exec rm {} \;
  • Bfind /var/log -type f -modified +180 -rm
  • Cfind /var/log -type f -mtime +180 -exec rm {} \
  • Dfind /var/log -type c -atime +180 -remove

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Linux commands#find command#file management#disk space management
Full XK0-005 PracticeBrowse All XK0-005 Questions