CompTIA Linux+ Exam XK0-005 Question # 38 Topic 4 Discussion

CompTIA Linux+ Exam XK0-005 Question # 38 Topic 4 Discussion

XK0-005 Exam Topic 4 Question 38 Discussion:
Question #: 38
Topic #: 4

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?


A.

find /var/log -type d -mtime +180 -print -exec rm {} \;


B.

find /var/log -type f -modified +180 -rm


C.

find /var/log -type f -mtime +180 -exec rm {} \


D.

find /var/log -type c -atime +180 –remove


Get Premium XK0-005 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.