Linux Questions

Practice Linux MCQs with answers and explanations. Page 6 of 7.

Category
Computer Science
Topic
Linux
Page
6 / 7
Mode
Practice

Questions

Open any question to view the answer and explanation.

Web service processes on Linux: What is the name of the daemon (service process) commonly used by the Apache web server on UNIX/Linux systems?
Open
View answer
UNIX permissions refresher: The symbolic-mode equivalent of chmod 761 letter sets user, group, and other permissions. Which mapping expresses that setting correctly?
Open
View answer
Printing on UNIX systems: Which command submits a file to the System V–style print spooler for printing?
Open
View answer
Print queue inspection (BSD family): Which command displays the current jobs in the print queue when using the BSD-style printing commands?
Open
View answer
Working directory awareness: Which command prints the absolute path of your current working directory in a UNIX/Linux shell?
Open
View answer
Storage usage overview: Which command summarizes disk usage for files and directories (for example, showing total space consumed by each subdirectory)?
Open
View answer
Linux security administration On a Linux system, which tool can be used to configure a packet-filtering firewall on legacy kernels (prior to iptables/nftables)?
Open
View answer
Network Information Service (NIS) basics Which NIS client command returns the name of the NIS server currently serving the client system?
Open
View answer
Linux routing configuration On a Linux router or host, which command is used to add, delete, or view entries in the kernel routing table?
Open
View answer
UNIX/Linux file permissions Which single chmod command assigns read-only permission to all three classes (user, group, and others) for a file named 'letter'?
Open
View answer
Linux process control Which command is used to terminate (send a signal to) a running process by Process ID (PID) or by name?
Open
View answer
vi text editor operations In the vi editor, which command deletes three words forward from the cursor position (treating punctuation and whitespace by vi's word rules)?
Open
View answer
Linux partition type codes (MBR) In fdisk with Master Boot Record (MBR) partitioning, which hexadecimal codes designate a Linux swap partition and a Linux native (filesystem) partition, respectively?
Open
View answer
Sorting text on UNIX/Linux Which command sorts the lines of a file in reverse (descending) order when run from the shell?
Open
View answer
Free Software Foundation (FSF) history Who founded the Free Software Foundation, the nonprofit organization that promotes computer user freedom and maintains the GNU project?
Open
View answer
Partition table formats on PCs Historically, which partition table format has Linux commonly used on IBM-PC compatible systems for disk partitioning (prior to widespread GPT adoption)?
Open
View answer
Linux desktop frameworks: GNOME was historically architected around which middleware/component model for inter-process communication and object services?
Open
View answer
UNIX/Linux basics: Which single command is used to copy a file (source to destination) on the same system?
Open
View answer
File permissions in UNIX: Which chmod command adds executable permission for the owner of the file named 'letter' (without altering group or others)?
Open
View answer
UNIX utilities: Which command compares two files byte-by-byte and reports the first difference (primarily for binary comparison)?
Open
View answer

Practice smarter

Solve a few questions daily and revisit weak topics regularly to improve accuracy.