d) to exit the current shell
a) prints the current mask using symbolic notation
a) reads lines of standard input and assigns each to the element of an indexed array
c) both (a) and (b)
b) stop background jobs if they try to send output to the terminal
a) terminate the job whose command line starts with s
a) fg
Explanation:
bg command brings a foreground job into the background.
b) stops the process running in the shell
Explanation:
Ctrl-Z key combination generates a SIGTSTP signal and stops the process running in the shell.
b) a unique number, assigned to each job in shell
a) it is the ability to stop and resume any process running in shell at a later point
19. Which command is used to re-execute the previous command?
a) !!
b) !cat
c) !3
d) !$
a) !!
Explanation:'!cat' will re-execute the last cat command, '!3′ will re-execute the third last command and '!$' will execute the last argument of previous command.
20. Fc stands for
a) find command
b) fix command
c) both (a) and (b)
d) none of the mentioned
c) both (a) and (b)
Explanation:'fc -l' is used to list history of commands and 'fc -e' to edit them and 'history' command also provides the histroy of commands.
a) 'ggl' will print 3 times
d) all of the mentioned
33. Which command can create environment variable?
a) export
b) set
c) read
d) none of the mentioned
a) export
b) disables the specified built-in command