How can the normal output of a command be written to a file while discarding the error output?
Answer : E
What is the output of the following command sequence?
for token in a b c; do
echo -n "$token ";
done
Answer : B
Which character starts a comment line in a shell script file?
Answer : C
Which approach will provide a listing of the contents in a tar archive?
Answer : A
The script, script.sh, consists of the following lines:
#!/bin/bash
echo $2 $1
Which output will appear if the command, ./script.sh test1 test2, is entered?
Answer : B
Which of the following lines are valid in the file /etc/hosts? (Choose TWO correct answers.)
Answer : A, C
What is true regarding a default route?
Answer : C