Linux MCQ Questions

Linux MCQ Questions

  • Sharad Jaiswal
  • 23rd Nov, 2021

We have listed here the best Linux MCQ Questions for your basic knowledge of the Linux Operating System. This Linux MCQ Test contains 25+ Linux Multiple Choice Questions. You have to select the right answer to every question to check your final preparation for the Linux MCQ Interview or Exams.

Practice Best Linux MCQ Questions

1) Core of linux operating system is ........

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

2) What is Linux?

  • A. Browser
  • B.Operating System
  • C.File
  • D.Computer Network

3) Command to create file in Linux is ...............

  • A. cat
  • B.echo
  • C.touch
  • D.All of the above

4) Which combination of keys is used to exit from terminal?

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

5) ______ command is used to remove the directory?

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

6) By using rd command directory with files can be removed or not .

  • A. Removed
  • B.Not Removed

7) Centos operating system is not based on linux.

  • A. True
  • B.False

8) ........... combination of keys is used to exit from terminal.

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

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

  • A. tee
  • B.exec
  • C.extract
  • D.None of the above

10) Which of the following is communication command in linux?

  • A. SSH
  • B.FTP
  • C.Ping
  • D.All of the above

11) delete command is used to .............

  • A. Deletes selected cells
  • B.Deletes Formats of cell
  • C.Deletes the content of a cell
  • D.Deletes the comment of cel

12) Deleting a soft-link ..............

  • A. Deletes just the softlink
  • B.Deletes the destination file
  • C.Deletes both the softlink and the destination file
  • D.None of the above

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

  • A. 2
  • B.4
  • C.6
  • D.8

14) In linux everything stored as a ..........

  • A. File
  • B.Directory
  • C.Executables
  • D.None of these

15) Linux is a ___________ and ___________ operating system.

  • A. Single User and Multitasking
  • B.Multiuser and Multitasking
  • C.Multiuser and Single Tasking
  • D.None of the above

16) Which command is used to set limits on file size?

  • A. usize
  • B.ulimit
  • C.flimit
  • D.fsize

17) The dev directory contains the ............

  • A. device files
  • B.device drivers
  • C.kernel modules of device drivers
  • D.None of the above

18) Which command is used to record a user login session in a file?

  • A. read
  • B.script
  • C.macro
  • D.None of the above

19) Which of the following command is used to extract a column from a text file?

  • A. tar
  • B.cut
  • C.get
  • D.paste

20) What does pwd command displays?

  • A. user password
  • B.password file content
  • C.present working directory
  • D.None of the above

21) What command is used to change permissions of files and directories?

  • A. set
  • B.mv
  • C.chgrp
  • D.chmod

22) What does the directory file contains?

  • A. File names & Address
  • B.File names & File Sizes
  • C.File names & Permissions
  • D.File names & Inode Numbers

23) The Sticky bit can be set using ............. permission.

  • A. 1711
  • B.2666
  • C.4744
  • D.0777

24) ............. command is used to assign read-write permission to the owner.

  • A. chmod o+r file
  • B.chmod og-r file
  • C.chmod a+r file
  • D.chmod u=rw file

25) Which of the following file system has journaling capability?

  • A. Ext2
  • B.Isofs
  • C.Ext4
  • D.Procfs

Leave A Comment :

Valid name is required.

Valid name is required.

Valid email id is required.

Related MCQ/Quiz

01st
Nov
5G MCQ Questions
01st
Nov
E-Marketing MCQ
01st
Feb
CICS MCQ
01st
Feb
Agile Scrum MCQ
01st
Mar
JDBC MCQ