Câu 46: XK0-006: CompTIA Linux+
A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?
Nội dung câu hỏi
A systems administrator wants to review the logs from an Apache 2 error.log file in real time and save the information to another file for later review. Which of the following commands should the administrator use?
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. tail -f /var/log/apache2/error.log > logfile.txt
- B. tail -f /var/log/apache2/error.log | logfile.txt
- C. tail -f /var/log/apache2/error.log >> logfile.txt
- D. tail -f /var/log/apache2/error.log | tee logfile.txt — đáp án hiện tại
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.