Home

Linux Operating System MCQ Question with Answer

Linux Operating System MCQ with detailed explanation for interview, entrance and competitive exams. Explanation are given for understanding.

Download Linux Operating System MCQ Question Answer PDF

Try Linux Operating System Mock Test

Question No : 1
The /opt directory comes in which category of directories?

Binary directories
Data directories
Variable directories
Memory directories

Question No : 2
Which of the following command is used to delete till the end of the line in the vi editor?

$
d$
d0
DD

Question No : 3
Which of the following command is used to display the memory map of processes in the Linux system?

pmap
memmap
map
procmap

Question No : 4
Who was developed the vi editor?

Bill joy
James gosling
Andy Bechtolseim
Scott G. McNealy

Question No : 5
Which of the following environment variables contains the path of the user's unique id?

UID
USERID
USRID
ID

Question No : 6
Which of the following command is used to switch two characters in vi editor?

sc
xp
xc
xx

Question No : 7
Which of the following directories are known as data directories?
a) /srv
b) /media
c) /home
d) /opt
Options:

A and B
A, B, and C
B, C, and D
A, B, C, and D

Wanna test your skill? Here are some exams we prepared for you. So if you need to test your skill just attempt any exam from bellow.

Exam Name No. Of Q Link
Computer set 1 30 Start
Computer set 2 30 Start
Computer set 3 30 Start
Computer set 4 30 Start
Computer set 5 30 Start
Computer set 6 30 Start
Computer set 7 30 Start
Computer set 8 30 Start
Computer set 9 30 Start
Computer set 10 30 Start
Computer set 11 30 Start
Computer set 12 30 Start