Câu 34: XK0-005: CompTIA Linux+
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?
Nội dung câu hỏi
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?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- 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 {} \ — đáp án hiện tại
- D. find /var/log -type c -atime +180 –remove
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.