Take Linux MCQ Online Test & Quiz to test your knowledge

Linux is the most popular operating system like Unix. It is an open-source operating system and is based on the Linux kernel. It was initially released on 17 September 1991 and written in C & Assembly languages. this operating system was originally developed for Intel x86 architecture-based personal computers.

Finally, practice here the best Linux MCQ Questions that check your basic knowledge of Linux operating system. This Linux MCQ Online Test contains 30+ Linux MCQ Questions and Answers. You have to select the right answer to every question. these MCQs are very popular & helpful for the best preparation of Linux Interviews & Exams. Apart from this, you can also download below the Linux MCQ with Answers PDF completely free.

Also, Read the Best Linux Interview Questions.

Linux MCQ Questions

1) The Command do you use to create Linux file system is ...........

  • A. fsck
  • B.mkfs
  • C.mount
  • D.None of the mentioned

2) The Core of Linux operating system is ................

  • A. Shell
  • B.Kernel
  • C.Terminal
  • D.Command

3) Which of the following directory contains configuration files in Linux?

  • A. /dev/
  • B./etc/
  • C./bin/
  • D./root/

4) The maximum filename size in Linux in bytes is 255.

  • A. True
  • B.False

5) Which command is used to remove files?

  • A. rm
  • B.dm
  • C.erase
  • D.delete
Download Free : Linux MCQ PDF

6) ____________ command is used to remove the directory.

  • A. rdir
  • B.rd
  • C.rmdir
  • D.None of the above

7) How many primary partitions can exist on one drive?

  • A. 16
  • B.1
  • C.2
  • D.4

8) FSF stand for -

  • A. Free Software File
  • B.Free Software Foundation
  • C.First Serve First
  • D.None of the above

9) ___________is not a communication command.

  • A. mail
  • B.mesg
  • C.grep
  • D.write

10) Which of the following combination of keys is used to exit from terminal?

  • A. Ctrl + z
  • B.Ctrl + t
  • C.Ctrl + d
  • D.Ctrl + e

11) The OS which is not based on Linux is -

  • A. BSD
  • B.Ubuntu
  • C.CentOs
  • D.Redhat

12) ___________command is used to record session in Linux.

  • A. session
  • B.script
  • C.both session & script
  • D.None of the above

13) The mv command can be used for ..............

  • A. Renaming a file
  • B.Move the file to different directory.
  • C.Both 1 and 2
  • D.None of these

14) The range of nice number in Linux system is ...........

  • A. -20 to 0
  • B.-20 to 19
  • C.0 to 19
  • D.10 to 10

15) User passwords are stored in .................

  • A. /root/password
  • B./etc/password
  • C./etc/passwd
  • D./root/passwd

16) Which is the default file system type of Linux.

  • A. etx
  • B.ext2
  • C.etx3
  • D.mimix

17) Hidden file can be viewed using ..............

  • A. ls -a
  • B.ls -l
  • C.ls -h
  • D.Is - k

18) Linux is an operating system based on UNIX and was first introduced by Linus Torvalds.

  • A. True
  • B.False

19) Which command is used to extract intermediate result in a pipeline?

  • A. extract
  • B.tee
  • C.exec
  • D.chgrp

20) Which of the following sign represents the user home directory?

  • A. .
  • B./
  • C...
  • D.~

21) The dmesg command shows ..................

  • A. Kernel log messages
  • B.The daemon log messages
  • C.The user login logoff attempts
  • D.None of above

22) Which command is used to set terminal IO characteristic?

  • A. tty
  • B.ctty
  • C.stty
  • D.None of above

23) Which command is used to display the operating system name?

  • A. os
  • B.unix
  • C.uname
  • D.kernel

24) Which command is used to display the unix version?

  • A. kernel
  • B.uname -t
  • C.uname -r
  • D.uname -n

25) Which command is used to view compressed text file contents?

  • A. cat
  • B.zcat
  • C.type
  • D.None of above

26) a directory is a type of file. true or false?

  • A. True
  • B.False

27) Under the root directory in linux, which directory contains system commands and utilities?

  • A. /usr
  • B./tmp
  • C./sbin
  • D.None of these

28) The linux kernel exists as a file named ...............

  • A. vmlinuz
  • B.vmlinux
  • C.kernel
  • D.None of the above

29) This default linux directory contains many of the linux commands.

  • A. /bin
  • B./doc
  • C./lib
  • D./info

30) Linux is an example of a(n) ______.

  • A. operating system
  • B.broswer
  • C.word processing software
  • D.photo Editor

31) The top-level directory on a linux system is represented as ....................

  • A. /
  • B.$
  • C.*
  • D.#

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Mar
AngularJs MCQ
01st
Jun
Azure MCQ
01st
Feb
MVC MCQ
01st
Jun
Hadoop MCQ