Câu 26: LFCS: Linux Foundation Certified System Administrator
What is the difference between the commands test -e path and test -f path?
Nội dung câu hỏi
What is the difference between the commands test -e path and test -f path?
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. They are equivalent options with the same behavior.
- B. The -f option tests for a regular file. The -e option tests for an empty file.
- C. Both options check the existence of the path. The -f option also confirms that it is a regular file. — đáp án hiện tại
- D. The -f option tests for a regular file. The -e option tests for an executable file.
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.