Operating System (3140702) MCQs

MCQs of Unix/Linux Operating System

Showing 81 to 90 out of 115 Questions
81.
In UNIX there are ___ major types of shells.
(a) 2
(b) 3
(c) 4
(d) Many
Answer:

Option (a)

82.
What is the default symbol for command prompt in Bourne shell?
(a) $
(b) %
(c) #
(d) @
Answer:

Option (a)

83.
What is the default symbol for command prompt in C shell?
(a) $
(b) %
(c) #
(d) @
Answer:

Option (b)

84.
Which shell is the most common and best to use?
(a) Korn shell
(b) POSIX shell
(c) C shell
(d) Bash shell
Answer:

Option (d)

85.
What does the following command do? $ echo *
(a) Error
(b) Undefined behavior
(c) Displays “*”
(d) Lists all filenames in the current directory
Answer:

Option (d)

86.
Which symbol is used for assigning a value to variables?
(a) $
(b) &
(c) =
(d) @
Answer:

Option (c)

87.
A process is an instance of _______ program.
(a) waiting
(b) executing
(c) terminated
(d) halted
Answer:

Option (b)

88.
Each process is identified by a unique integer called ______
(a) PID
(b) PPID
(c) TID
(d) PTID
Answer:

Option (a)

89.
Which of the following command doesn’t create a process?
(a) pwd
(b) fork
(c) cd
(d) pwd and cd
Answer:

Option (d)

90.
Which command is used for locating repeated and non-repeated lines?
(a) sort
(b) uniq
(c) cut
(d) paste
Answer:

Option (b)

Showing 81 to 90 out of 115 Questions