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.
Title | |
---|---|
Who founded Linux Kernel?Who founded Linux Kernel?
The answer is:
B. Linus Torvalds
|
|
What is the core of the Linux operating system?What is the core of the Linux operating system?
The answer is:
D. Kernel
|
|
Which is/are the directories that come under the Binary directory?Which is/are the directories that come under the Binary directory?
The answer is:
E. All of the above
|
|
The directory is a type of file? |
|
Which symbol represents the top-level directory? |
|
Which symbol represents the user's home directory? |
|
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?
The answer is:
C. wc
|
|
Which Linux command is used to remove files? |
|
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?
The answer is:
C. x
|
|
Which Linux command is used to know which directory you are in?Which Linux command is used to know which directory you are in?
The answer is:
D. pwd
|
|
Which Linux command is used to see all the hidden files?Which Linux command is used to see all the hidden files?
The answer is:
C. ls -a
|
|
Which Linux command is used to give a full listing?Which Linux command is used to give a full listing?
The answer is:
A. ls -F
|
|
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?
The answer is:
A. cd..
|
|
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?
The answer is:
C. mkdir XYZ
|
|
Which Linux command is used to create a new file?Which Linux command is used to create a new file?
The answer is:
D. touch
|
|
Which Linux command is used to copy files through the command line?Which Linux command is used to copy files through the command line?
The answer is:
A. cp
|
|
Which Linux command is used to move files through the command line?Which Linux command is used to move files through the command line?
The answer is:
B. mv
|
|
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"?
The answer is:
A. mv abc.txt pqr.txt
|
|
Just like the Windows Search command, which command is used in Linux?Just like the Windows Search command, which command is used in Linux?
The answer is:
D. locate
|
|
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?
The answer is:
B. -i
|
MCQs
Views
Best Answers
Points