Explore topic-wise MCQs in Unix.

This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Unix knowledge and support exam preparation. Choose a topic below to get started.

1.

It is better to use & with nice command.

A. True
B. False
Answer» B. False
2.

Which command is used for executing jobs according to their priority?

A. nohup
B. $
C. &
D. nice
Answer» E.
3.

What is the PID of the process who takes the parentage of the process run with nohup command?

A. 0
B. 1
C. 2
D. Infinite
Answer» C. 2
4.

nohup command doesn’t send the standard output of a command to any file.

A. True
B. False
Answer» C.
5.

When nohup command is used, shells returns the _____

A. PID
B. PPID
C. tty
D. TTy
Answer» B. PPID
6.

Which of the following shell(s) allows the user to run jobs in the background even when the user has logged out (without using nohup command)?

A. C
B. bash
C. Korn
D. ?a) Cb) bashc) Kornd) C and bash
Answer» E.
7.

It is necessary to terminate the command line with &, even when we are using nohup command.

A. True
B. False
Answer» B. False
8.

Which command is used for running jobs in the background?

A. nice
B. ps
C. nohup
D. exec
Answer» D. exec
9.

Shell ___ operator is used for running jobs in the background.

A. $
B. #
C. |
D. &
Answer» E.
10.

We can run the jobs in the background in UNIX.

A. True
B. False
Answer» B. False