Linux Questions
Practice Linux MCQs with answers and explanations. Page 2 of 7.
Category
Computer Science
Topic
Linux
Page
2 / 7
Mode
Practice
Questions
Open any question to view the answer and explanation.
In Unix/Linux file management, which command is used to remove (delete) one or more files from the filesystem?
Open
View answer
In the context of X Window System development, which project (from the options listed) is historically known for developing and distributing the X server on common PC hardware?
Open
View answer
On Unix/Linux, which of the following is not a user-to-user communication or messaging-related command?
Open
View answer
Which command pattern below would <em>not</em> correctly list exactly the files chap01, chap02, and chap04 in a Unix/Linux shell?
Open
View answer
Historically in Red Hat Linux, which hardware architecture from the list below was not supported as a primary target platform?
Open
View answer
Within the TCP/IP suite, which protocol provides remote terminal connection service (allowing users to log in to a remote host interactively)?
Open
View answer
In free and open-source software history, the acronym FSF stands for which organization that champions user freedoms such as the right to run, study, share, and modify software?
Open
View answer
In the context of DNS on Unix/Linux systems, which server daemon is provided with the BIND (Berkeley Internet Name Domain) package?
Open
View answer
On Unix/Linux systems, which command is used to remove an empty directory from the filesystem?
Open
View answer
In the OSI reference model, which layer defines the interface between the system and the end user, providing services such as file access, email, and virtual terminals?
Open
View answer
In free software history, the acronym GNU stands for which recursive phrase?
Open
View answer
In the vi editor, which command appends new text at the end of the current line?
Open
View answer
In the vi editor, which command searches for a pattern in the forward direction from the current cursor position?
Open
View answer
On Linux systems, which command is used to create a new file system on a partition or block device before it can be mounted?
Open
View answer
In BSD printing systems, which command removes one or more jobs from the print queue?
Open
View answer
In computer networking, which service translates human-readable domain names (for example, www.example.com
) into numerical IP addresses?
Open
View answer
In the vi editor, which command replaces text continuously from the current cursor position to the right, until you exit replace mode?
Open
View answer
In Unix/Linux system administration, which command is used to display the characteristics and current status of running processes (for example, PID, TTY, CPU time, and the command)?
Open
View answer
In the vi (or Vim) text editor, which symbol is used to backspace over typing errors while entering text?
Open
View answer
On Unix/Linux, which command is used to sort the lines of a file in ascending (alphabetical/lexicographic) order?
Open
View answer
Practice smarter
Solve a few questions daily and revisit weak topics regularly to improve accuracy.