Skip to main content

Linux — Part 2 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Linux — Part 2 with worked academic solutions for PPSC, FPSC, CSS, PMS, NTS.

Questions
40
Difficulty Level
Exam-Level
Target Exams
PPSC, FPSC, CSS...
Estimated Time
48 mins
Exam-Level PPSC FPSC CSS PMS NTS
Verified for Commission Syllabus • Oct 14, 2026
40

Verified Practice Questions

Interactive test mode with detailed academic worked solutions

Live Progress | 0/40 answered
✓ 0 correct ✗ 0 wrong 0% score
Question 1 of 40
★ PPSC ★ FPSC

What shell's wild-card is used to match any number of characters including none?

Question 2 of 40
★ PPSC ★ FPSC

What command is used to list contents of directories?

Question 3 of 40
★ PPSC ★ FPSC

What command is used to copy directory structures in and out?

Question 4 of 40
★ PPSC ★ FPSC

In OSI network architecture, the dialogue control and token management are responsible of

Question 5 of 40
★ PPSC ★ FPSC

Layer one of the OSI model is

Question 6 of 40
★ PPSC ★ FPSC

What layer of OSI determines the interface of the system with the user?

Question 7 of 40
★ PPSC ★ FPSC

What command is used to remove jobs from the print queue?

Question 8 of 40
★ PPSC ★ FPSC

How can you navigate around virtual consoles?

Question 9 of 40
★ PPSC ★ FPSC

Which of the following NIS clients, finds and stores information about an NIS domain and server?

Question 10 of 40
★ PPSC ★ FPSC

What command is used to save the standard output in a file, as well as display it on the terminal?

Question 11 of 40
★ PPSC ★ FPSC

What command is used to count just the number of lines contained in a file?

Question 12 of 40
★ PPSC ★ FPSC

In OSI network architecture, the routing is performed by

Question 13 of 40
★ PPSC ★ FPSC

The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as

Question 14 of 40
★ PPSC ★ FPSC

Which class network is used for a collection of a small number of networks with a large number of nodes?

Question 15 of 40
★ PPSC ★ FPSC

What type of addressing format is used by Class A network.

Question 16 of 40
★ PPSC ★ FPSC

What types of installations require a special boot disk?

Question 17 of 40
★ PPSC ★ FPSC

RPM

Question 18 of 40
★ PPSC ★ FPSC

What command is used to query for a specific package with RPM?

Question 19 of 40
★ PPSC ★ FPSC

What script is run for setting bash global defaults for all users?

Question 20 of 40
★ PPSC ★ FPSC

Who founded the Linux Kernel?

Question 21 of 40
★ PPSC ★ FPSC

Which of the following is not a part of default Red Hat Linux email system?

Question 22 of 40
★ PPSC ★ FPSC

_____ tool allows you to change your default X Window desktop.

Question 23 of 40
★ PPSC ★ FPSC

In what file can you specify which users are not allowed to access a system via FTP?

Question 24 of 40
★ PPSC ★ FPSC

Which program is used to schedule particular jobs or programs at particular times on the system?

Question 25 of 40
★ PPSC ★ FPSC

Which command can force all buffers to disk?

Question 26 of 40
★ PPSC ★ FPSC

How many extended partitions can exist on one drive?

Question 27 of 40
★ PPSC ★ FPSC

For you to create a swap partition by using fdisk, what must the partition's system ID type be?

Question 28 of 40
★ PPSC ★ FPSC

What file contains the list of port numbers (and associated names) monitored by inetd?

Question 29 of 40
★ PPSC ★ FPSC

The location of some system configuration and system administrator executable files, is:

Question 30 of 40
★ PPSC ★ FPSC

The location for subdirectories for local programs and executables for user and administrative commands, is:

Question 31 of 40
★ PPSC ★ FPSC

Which of the following is not a filter command?

Question 32 of 40
★ PPSC ★ FPSC

What command is used to display a file contents in octal form?

Question 33 of 40
★ PPSC ★ FPSC

What command is used to assign executable permission to all of the files named "report"?

Question 34 of 40
★ PPSC ★ FPSC

What command is used to change the working directory?

Question 35 of 40
★ PPSC ★ FPSC

What command is used to count the number of files in the current directory by using pipes?

Question 36 of 40
★ PPSC ★ FPSC

What command is used to count just the number of characters in a file?

Question 37 of 40
★ PPSC ★ FPSC

How many class A, B and C network IDs can exist?

Question 38 of 40
★ PPSC ★ FPSC

LILO

Question 39 of 40
★ PPSC ★ FPSC

How can you rebuild the RPM file to include the new patches?

Question 40 of 40
★ PPSC ★ FPSC

What command is used to set user and group quotas?

✓ Link copied to clipboard
Continue Your Practice

Advanced Mapreduce Concepts — Part 1

Master the next curriculum module with 40 exam-standard MCQs.

Next Practice Set →

💡 Examiner's Advisory for Computer Science & IT

In competitive commission exams (FPSC, PPSC, KPPSC, SPSC, CSS, PMS), questions are frequently phrased with distractor options designed to catch rote learners. Whenever you answer an MCQ, read the Detailed Academic Explanation and Conceptual Anchor to understand why the remaining options are incorrect.

More Modules in Computer Science & IT

View All →
📚

Study Guides

Topic summaries and syllabus breakdown

Explore Guides →
🎯

Complete Library

Search through 78,000+ verified MCQs

Browse Library →
📱

Mobile App

Offline mock tests and instant bookmarks

Get Mobile App →