CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 45: XK0-006: CompTIA Linux+

In the echo "profile-$num-$name" line of a shell script, the variable $num seems to not be expanding during execution. Which of the following notations ensures the value is expanded?

Nội dung câu hỏi

In the echo "profile-$num-$name" line of a shell script, the variable $num seems to not be expanding during execution. Which of the following notations ensures the value is expanded?

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.

  1. A. echo "profile-$(num)-$name"
  2. B. echo 'profile-$num-$name'
  3. C. echo "profile-‘Snum‘-$name"
  4. D. echo "profile-${num}-$name" — đá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.

Câu hỏi liền kề