Skip to main content

Linux — Part 1 MCQs with Explanations

Practice high-yield Computer Science & IT MCQs on Linux — Part 1 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 command is used to count the total number of lines, words, and characters contained in a file?

Question 2 of 40
★ PPSC ★ FPSC

What command is used to remove files?

Question 3 of 40
★ PPSC ★ FPSC

What command is used to remove the directory?

Question 4 of 40
★ PPSC ★ FPSC

What command is used with vi editor to delete a single character?

Question 5 of 40
★ PPSC ★ FPSC

What hardware architectures are not supported by Red Hat?

Question 6 of 40
★ PPSC ★ FPSC

The physical layer of a network

Question 7 of 40
★ PPSC ★ FPSC

What TCP/IP protocol is used for remote terminal connection service?

Question 8 of 40
★ PPSC ★ FPSC

How many networks and nodes per network, are allowed by the Class B network?

Question 9 of 40
★ PPSC ★ FPSC

What service is used to translate domain names to IP addresses?

Question 10 of 40
★ PPSC ★ FPSC

Which of the following command is used to create a Linux installation hoot floppy?

Question 11 of 40
★ PPSC ★ FPSC

How can you add Amit, a new user, to your system?

Question 12 of 40
★ PPSC ★ FPSC

What file specifies the order in which to use specified name services?

Question 13 of 40
★ PPSC ★ FPSC

How many primary partitions can exist on one drive?

Question 14 of 40
★ PPSC ★ FPSC

In which directory can you store system user default files used for creating user directories?

Question 15 of 40
★ PPSC ★ FPSC

How could you install the file ipchains-1.3.9-5.i386.rpm?

Question 16 of 40
★ PPSC ★ FPSC

What does FSF stand for?

Question 17 of 40
★ PPSC ★ FPSC

Which of the following is a valid format for mounting a CD-ROM drive?

Question 18 of 40
★ PPSC ★ FPSC

What command do you use to create Linux file systems?

Question 19 of 40
★ PPSC ★ FPSC

Which of the following command can you execute to count the number of lines in a file?

Question 20 of 40
★ PPSC ★ FPSC

Which of the following is not a communication command?

Question 21 of 40
★ PPSC ★ FPSC

What command is used to display the characteristics of a process?

Question 22 of 40
★ PPSC ★ FPSC

What command is not used to list the files chap01, chap02 and chap04?

Question 23 of 40
★ PPSC ★ FPSC

What command is used with vi editor to replace text from cursor to right

Question 24 of 40
★ PPSC ★ FPSC

What sign is used to back up over typing errors in vi?

Question 25 of 40
★ PPSC ★ FPSC

What sign is used to erase or kill an entire line you have typed and start you are on a new line (but not display a new prompt)?

Question 26 of 40
★ PPSC ★ FPSC

What command is used to sort the lines of data in a file in alphabetical order?

Question 27 of 40
★ PPSC ★ FPSC

What command is used with vi editor to save file and remain in the editing mode?

Question 28 of 40
★ PPSC ★ FPSC

What command is used with vi editor to move back to the beginning of a word?

Question 29 of 40
★ PPSC ★ FPSC

What command is used with vi editor to search a pattern in the forward direction?

Question 30 of 40
★ PPSC ★ FPSC

What command is used to add printing jobs to the queue?

Question 31 of 40
★ PPSC ★ FPSC

What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his mail reader?

Question 32 of 40
★ PPSC ★ FPSC

What project is currently developing X server support?

Question 33 of 40
★ PPSC ★ FPSC

What X-based tool is available for configuring the X Window system?

Question 34 of 40
★ PPSC ★ FPSC

Which of the following server is used with the BIND package?

Question 35 of 40
★ PPSC ★ FPSC

What port does squid listen, by default?

Question 36 of 40
★ PPSC ★ FPSC

Which of the following is the main Apache configuration file?

Question 37 of 40
★ PPSC ★ FPSC

Which of the following command is used to access an SMB share on a Linux system?

Question 38 of 40
★ PPSC ★ FPSC

Which of the following command is used to see the services running in NFS server?

Question 39 of 40
★ PPSC ★ FPSC

In which tcp_wrappers file can you specify to allow all connections from all hosts?

Question 40 of 40
★ PPSC ★ FPSC

What does GNU stand for?

✓ 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 →