LPI Exam Questions

Given the following output:# myapp[1]+ Stopped myapp#Which of the following commands will resume exe

Given the following output:
# myapp
[1]+ Stopped myapp
#
Which of the following commands will resume executing the stopped process while allowing the user to continue to type commands at the command prompt?

A.
bg myapp

B.
continue myapp

C.
exec myapp

D.
fg myapp

E.
myapp &

Explanation:
bg [jobspec] Place jobspec into the background, as if it had been started with `&’. If jobspec is not supplied, the current job is used.
fg [jobspec] Bring jobspec into the foreground and make it the current job. If jobspec is not supplied, the current job is used.
Use jobs to list all current background processes