Valid XK0-005 Dumps shared by EduDump.com for Helping Passing XK0-005 Exam! EduDump.com now offer the newest XK0-005 exam dumps, the EduDump.com XK0-005 exam questions have been updated and answers have been corrected get the newest EduDump.com XK0-005 dumps with Test Engine here:
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?
Correct Answer: C
The command that will accomplish the task of finding and removing all log files that were modified more than 180 days ago is find /var/log -type f -mtime +180 -exec rm {} ;. This command will use find to search for files (-type f) under /var/log directory that have a modification time (-mtime) older than 180 days (+180). For each matching file, it will execute (-exec) the rm command to delete it, passing the file name as an argument ({}). The command will end with a semicolon (;), which is escaped with a backslash to prevent shell interpretation.