Which of the following commands will resume executing the stopped process while allowing theuser to continue to type commands at the command prompt?

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

Given the following output:
Prompt > myapp
[1]+ Stopped myapp
prompt>
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.
execmyapp

C.
fg myapp

D.
myapp &

E.
continuemyapp



Leave a Reply 2

Your email address will not be published. Required fields are marked *


loptos

loptos

A. bg myapp – bg does not take name of coomand as argument, only jobid
D. myapp & – creates new process, does not resume the old one

by my opinion no one answer is correct
also I wonder – under normal curcemstances
Prompt> myapp
does not cause the program to start

GG

GG

There are a various ways to refer to a job in the shell. The character % introduces a job specification. The JobID can be a process ID (PID) number, or you can use one of the following symbol combinations:

%Number : Use the job number such as %1 or %2.
%String : Use the string whose name begins with suspended command such as %commandNameHere or %ping.
%+ OR %% : Refers to the current job.
%- : Refers to the previous job.

So Answer A should read: bg %myapp