Explore topic-wise MCQs in Unix.

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

1.

Which one of the following forms used with at command is invalid?

A. at noon
B. at now +2 years
C. at 3:07 + 1 day
D. at morning
Answer» E.
2.

Which of the following keyword is not supported by at command?

A. now
B. noon
C. tomorrow
D. evening
Answer» E.
3.

We can use the _____ symbol with at command to redirect our output to a specified file.

A. >
B. <
C. >>
D. %
Answer» B. <
4.

We can schedule a job to run at a specified time of day using _______ command.

A. batch
B. at
C. cron
D. jobs
Answer» C. cron
5.

Which command is used to list the status of jobs?

A. fg
B. JOBS
C. jobs
D. fg
Answer» D. fg
6.

POSIX shell provides job control facilities like bg or fg.

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

Which of the following is not a part of job control facilities?

A. relate a job to the background
B. bring it back to the foreground
C. kill a job
D. create a new job
Answer» E.
8.

The command bg %2 is valid.

A. True
B. False
Answer» B. False
9.

The command fg %1 will bring the first background job to the foreground.

A. True
B. False
Answer» B. False
10.

____ command will bring the background jobs to the foreground.

A. bg
B. fg
C. ctrl-Z
D. kill
Answer» C. ctrl-Z
11.

Which command will push the current foreground job to the background?

A. bg
B. fg
C. ctrl-Z
D. kill
Answer» B. fg
12.

Which of the following command is used to suspend a job?

A. ctrl-Z
B. ctrl-Q
C. bg
D. $
Answer» B. ctrl-Q
13.

What is a job?

A. group of tasks
B. group of commands
C. group of processes
D. group of signals
Answer» D. group of signals