This value is______.

You are executing this command in the default shell:
sleep 5000 &
The system displays a number. This value is______.

You are executing this command in the default shell:
sleep 5000 &
The system displays a number. This value is______.

A.
the priority of the /usr/bin/sleep process

B.
the process ID of the /usr/bin/sleep process

C.
the process ID of the shell spawned to execute /usr/bin/sleep

D.
the process group ID that includes the /usr/bin/sleep process

E.
the amount of memory allocated to the /usr/bin/sleep process

F.
the current number of instances of the /usr/bin/sleep process

Explanation:
If a command is terminated by the control operator ‘&’, the shell executes the
command asynchronously in a subshell. This is known as executing the command in the
background. The shell does not wait for the command to finish, and the return status is 0 (true).



Leave a Reply 3

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

eighteen − thirteen =


Dupek

Dupek

B is the correct
root@s11:~# sleep 500 &
[1] 1694
root@s11:~# ps -ef | grep 1694
root 1694 1689 0 09:55:58 pts/1 0:00 sleep 500
root 1696 1689 0 09:56:04 pts/1 0:00 grep 1694