QUESTIONS AND ANSWERS 100%
CORRECT
Which of the following is not one of the responsibilities of the shell? - ANSWER-
Peripheral device management
Consider the following bash shell command line:
read var1 var2 var3
If the user enters 11 22 33 44 followed by [ENTER], what will be stored in the variable
var3? - ANSWER-33 44
By default, which is the file descriptor number that represents stdin? - ANSWER-0
The end of a case block in a bash shell is marked how? - ANSWER-By the esac
statement
Which process is responsible for starting up and shutting down the system? -
ANSWER-kernel
The first argument passed to a bash shell script can be accessed using which notion? -
ANSWER-$#
Linux is a _________ sytem. - ANSWER-multi-user, single tasking
Which of the following general methods is not used to pass parameters between a
running program and the operating table? - ANSWER-Parameters are mapped onto
secondary storage.
Which of the following special shell variables contains all of the positional parameters as
one string? - ANSWER-$*
Which environment variable in Linux contains a list of available directories where the
shell may find an executable command? - ANSWER-$PATH
Which of the below is the correct syntax in bash for comparing two numbers m and n for
equality? - ANSWER-[ $m - eq $n ]