题目内容

Which of the following looping constructs produces an output different than the others?

A. j=7 ; while [ $j -lt 10 ] ; do echo $j ; j=$(($j+1)) ; done
B. j=7 ; until [ $j -eq 10 ] ; do echo $j ; j=$(($j+1)) ; done
C. for j in 7 8 9 ; do echo $j ; done
D. j=7 ; for ( j

查看答案
更多问题

Which of the following statements are true about the case statement? Select all answers that apply.

A. It enables you to match several values against one variable
B. It ensures that the condition is true for all cases
C. It is a good alternative to nested multilevel if-then-else-fi statements
D. It indicates that any one of the conditions needs to be true, to perform the specified action

Select the correct syntax to find the length of the string abc.

A. $#[abc]
B. ${abc#}
C. $#{abc}
D. ${#abc}

Which of the following can CUPS do? Select all answers that apply.

A. Connect a local printer to a Linux system and share it over a network
B. Connect a network printer to a Linux system
Configure a network IP to the system
D. Configure a local printer on Windows machine

What type of Linux configuration files are used to automate the installation process? Select all answers that apply.

A. Kickstart
B. AutoYaST
CD/DVD
D. USB

答案查题题库