As user bob, you have logged in to the system on a terminal and issued the following command to
make the top command run in the background.
[bob@host – ] top&
You exit from the terminal and log back as bob into the system at the same terminal. How is the
background job affected?
A.
The background job gets the foreground as soon as bob logs into the system.
B.
The background job is suspended temporarily from the job and resumes when user bob logs
back in to the system.
C.
The background job starts running in the background again as soon as bob logs into the
system.
D.
The background job will not be affected.
E.
The background job is deleted from the job pool and does not get listed using jobs command.
Explanation:
Explanation: & puts the command to run in background mode. nohup will avoid the HUP signal(terminating a process by user logout).
Correct Answer is D.
The background job will not be affected.
no B
The Correct answer is E. Look the explanition of the nwildner, or use the application disown.
why dont you try the command on an OS.