题目内容

Which of the following Linux device nodes provide random numbers? Select all answers that apply.

A. /dev/rnd
B. /dev/urandom
C. /dev/urnd
D. /dev/random

查看答案
更多问题

Which command is used to create a temporary directory?

A. mktemp –d
B. mktemp –dir
C. mkstemp -d
D. mktempdir

If we want to debug the 15th line of a script, we must provide the _______ command on 14th line and the _______ command on 16th line of the script.

A. ./script 2> >, set +x
B. set -x, set +x
C. ./script 2>>, set +x
D. set +x, ./script 2>>

Select the command that appends the error output to a temporary log file.

A. $ ./script 2>> /tmp/scriptlogfile
B. $ ./script 2> /tmp/scriptlogfile
C. $ ./script 2
D. $ ./script 2/>> /tmp/scriptlogfile

Which of the following is not a valid looping construct?

A. while
B. until
C. after
D. for

答案查题题库