Câu 51: XK0-005: CompTIA Linux+
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following: Which of the following commands should replace the string?
Nội dung câu hỏi
A user is asking the systems administrator for assistance with writing a script to verify whether a file exists. Given the following: Which of the following commands should replace the string?
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. if [ -f "$filename" ]; then — đáp án hiện tại
- B. if [ -d "$filename" ]; then
- C. if [ -f "$filename" ] then
- D. if [ -f "$filename" ]; while
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.