PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will resume executing the stopped process while allowing theuser to continue t

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?

PrepAway - Latest Free Exam Questions & Answers

A.
bg myapp

B.
execmyapp

C.
fg myapp

D.
myapp &

E.
continuemyapp

2 Comments on “Which of the following commands will resume executing the stopped process while allowing theuser to continue t

  1. loptos says:

    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




    0



    0
  2. GG says:

    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




    0



    0

Leave a Reply