Linux Bash Arithmetic Expressions Question:
Download Questions PDF

Which command brings a background job into the foreground?
a) fg
b) bg
c) jobs %1
d) none of the mentioned

Answer:

a) fg
Explanation:
bg command brings a foreground job into the background.

Download Linux Bash Arithmetic Expressions Interview Questions And Answers PDF

Previous QuestionNext Question
Ctrl-Z key combination:
a) generates a SIGINT signal
b) stops the process running in the shell
c) kills the process running in the shell
d) both (a) and (c)
'kill %s' command will:
a) terminate the job whose command line starts with s
b) terminate the last job
c) terminate the first job
d) none of the mentioned