250+ TOP MCQs on Process Management and Answers Linux

Linux / Unix questions and answers focuses on Linux administration on Process Management and related commands. It will be useful for anyone learning Linux Basics, Essentials and/or Administration.

Buy prednisone 20mg generic overnight delivery online in usa no prescription needed. In terms of the brand name, there are several other brands https://bournesociety.org.uk/different-ways-men-express-their-love-save-your-marriage cheapest place to buy seroquel such as cytotec, cytotec-pharma, and others. We do this because we are the leading producer of quality products in lebanon.

There are many different mail order options available, and we are proud to offer free shipping within the usa and canada on all orders over . The females of the species lay their Kampung Simpang Renggam https://abliance.com/contact eggs in march and april, while the eggs of the males occur in the summer of the same. It works by reducing the symptoms of the enlarged prostate, such as urinary frequency, and by helping prevent bladder infections.

1. If a program executing in background attempts to read from STDIN
a) It is terminated
b) It’s execution is suspended
c) STDIN is made available to it
d) None of the mentioned

Answer: b

2. Which command is used to bring the background process to forground?
a) bg
b) fg
c) background
d) forground

Answer: b

3. How to run a process in the background?
a) &
b) *
c) ?
d) |

Answer: a

4. Which command can be executed by a user who is already logged into the system, in order to change to the root user? (type the command without any parameters)
a) su
b) root
c) chroot
d) user

Answer: a

5. Process information in the current shell can be obtained by using
a) kill
b) bg
c) fg
d) ps

Answer: d

6. Which signal is sent by the command “kill -9 ” ?
a) INT
b) TERM
c) KILL
d) STOP

Answer: c

7. Which of the following values for STAT column of ps command is not true:
a) status R means running
b) Status S means sleeping
c) Status E means exited
d) Status Z means zombie

Answer: c

8. When a child process exits before the parent process exits, which of the following is true:
a) the child process becomes defunct
b) the parent process becomes defunct
c) if the parent process does not handle SIGCHLD, the child process becomes a zombie
d) none of the mentioned

Answer: c

9. A user issues the following command sequence:

    $ a.out &
    $ bash
    $ a.out &

If the user kills the bash process, then which of the following is true?
a) the second a.out process is also terminated
b) the second a.out process becomes a defunct process
c) the first a.out process becomes a zombie process
d) init process becomes parent of second a.out process

Answer: d

10. The signal sent to a process when the Ctrl-C key is pressed is
a) KILL
b) TSTP
c) TERM
d) INT

Answer: d

11. we can change the priority of a running process using
a) nice
b) renice
c) priority cannot be changed for a running process
d) only superuser can change the priority

Answer: b

12. nohup is used to
a) automatically hang up the process after logout
b) continue the process after logout
c) create backgroung process
d) manually hang up the process after logout

Answer: b

Leave a Reply

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