Linux is an open-source Unix-like operating system that is based on the Linux kernel. The kernel was first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged in a Linux distribution. The Linux operating system comprises several different pieces: Bootloader, Kernel, Init system, Daemons, Graphical server, Desktop environment, Applications, etc.

Linux MCQs: This section contains multiple-choice questions and answers on the Linux operating system. It will help the students to test their skills and prepare well for their exams.

 

questions

Title
Who founded Linux Kernel?

Who founded Linux Kernel?


  1. Ken Thompson and Dennis Ritchie
  2. Linus Torvalds
  3. Linus Torvalds and Ken Thompson
  4. Richard Stallman
discuss
What is the core of the Linux operating system?

What is the core of the Linux operating system?


  1. Vi Editor
  2. Command Line
  3. Terminal
  4. Kernel
discuss
Which is/are the directories that come under the Binary directory?

Which is/are the directories that come under the Binary directory?


  1. /bin
  2. /sbin
  3. /lib
  4. /opt
  5. All of the above
discuss
The directory is a type of file?

The directory is a type of file?


  1. Yes
  2. No
discuss
Which symbol represents the top-level directory?

Which symbol represents the top-level directory?


  1. ~
  2. @
  3. #
  4. /
discuss
Which symbol represents the user's home directory?

Which symbol represents the user's home directory?


  1. ~
  2. @
  3. #
  4. /
discuss
Which Linux command is used to count the total number of lines, words, and characters contained in a file?

Which Linux command is used to count the total number of lines, words, and characters contained in a file?


  1. count
  2. wcount
  3. wc
  4. countw
discuss
Which Linux command is used to remove files?

Which Linux command is used to remove files?


  1. remove
  2. rm
  3. delete
  4. del
discuss
Which Linux command with vi Editor is used to delete a single character?

Which Linux command with vi Editor is used to delete a single character?


  1. d
  2. r
  3. x
  4. c
discuss
Which Linux command is used to know which directory you are in?

Which Linux command is used to know which directory you are in?


  1. know
  2. help
  3. cwd
  4. pwd
discuss
Which Linux command is used to see all the hidden files?

Which Linux command is used to see all the hidden files?


  1. ls
  2. ls -h
  3. ls -a
  4. dir -a
discuss
Which Linux command is used to give a full listing?

Which Linux command is used to give a full listing?


  1. ls -F
  2. ls -h
  3. ls -a
  4. dir -a
discuss
Which Linux command is used to go back from a folder to the folder before that?

Which Linux command is used to go back from a folder to the folder before that?


  1. cd..
  2. cd
  3. cd/
  4. chdir
discuss
If you want to create a new directory named XYZ, which command will be used for this purpose?

If you want to create a new directory named XYZ, which command will be used for this purpose?


  1. cd XYZ
  2. chdir XYZ
  3. mkdir XYZ
  4. md XYZ
discuss
Which Linux command is used to create a new file?

Which Linux command is used to create a new file?


  1. create
  2. file
  3. tch
  4. touch
discuss
Which Linux command is used to copy files through the command line?

Which Linux command is used to copy files through the command line?


  1. cp
  2. copy
  3. fcp
  4. filecopy
discuss
Which Linux command is used to move files through the command line?

Which Linux command is used to move files through the command line?


  1. move
  2. mv
  3. ren
  4. loc
discuss
Which is the correct command syntax to rename a file "abc.txt" to "pqr.txt"?

Which is the correct command syntax to rename a file "abc.txt" to "pqr.txt"?


  1. mv abc.txt pqr.txt
  2. mv pqr.txt abc.txt
  3. mv -a pqr.txt abc.txt
  4. mv -all pqr.txt abc.txt
discuss
Just like the Windows Search command, which command is used in Linux?

Just like the Windows Search command, which command is used in Linux?


  1. search
  2. find
  3. findall
  4. locate
discuss
Which argument with locate command helps us to ignore the case while searching the file in the Linux system?

Which argument with locate command helps us to ignore the case while searching the file in the Linux system?


  1. -c
  2. -i
  3. -a
  4. -x
discuss
total MCQs: 50

MCQs

50

Views

73

Best Answers

299

Points

5