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
🎉 Set complete! All 40 questions answered.
Question 1 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What shell's wild-card is used to match any number of characters including none?
Correct Answer: Option A — *
Detailed Academic Explanation:
* is the correct answer to “What shell's wild-card is used to match any number of characters including none”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 2 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to list contents of directories?
Correct Answer: Option D — ls
Detailed Academic Explanation:
ls is the correct answer to “What command is used to list contents of directories”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 3 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to copy directory structures in and out?
Correct Answer: Option C — cpio
Detailed Academic Explanation:
cpio is the correct answer to “What command is used to copy directory structures in and out”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 4 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In OSI network architecture, the dialogue control and token management are responsible of
Correct Answer: Option D — session layer
Detailed Academic Explanation:
session layer is the correct answer to “In OSI network architecture, the dialogue control and token management are responsible of”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 5 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Layer one of the OSI model is
Correct Answer: Option D — physical layer
Detailed Academic Explanation:
physical layer is the correct answer to “Layer one of the OSI model is”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 6 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What layer of OSI determines the interface of the system with the user?
Correct Answer: Option C — Application
Detailed Academic Explanation:
Application is the correct answer to “What layer of OSI determines the interface of the system with the user”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 7 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to remove jobs from the print queue?
Correct Answer: Option C — lprm
Detailed Academic Explanation:
lprm is the correct answer to “What command is used to remove jobs from the print queue”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 8 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How can you navigate around virtual consoles?
Correct Answer: Option A — Alt+Function Key
Detailed Academic Explanation:
Alt+Function Key is the correct answer to “How can you navigate around virtual consoles”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 9 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following NIS clients, finds and stores information about an NIS domain and server?
Correct Answer: Option B — ypbind
Detailed Academic Explanation:
ypbind is the correct answer to “Which of the following NIS clients, finds and stores information about an NIS domain and server”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 10 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to save the standard output in a file, as well as display it on the terminal?
Correct Answer: Option A — tee
Detailed Academic Explanation:
tee is the correct answer to “What command is used to save the standard output in a file, as well as display it on the terminal”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 11 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to count just the number of lines contained in a file?
Correct Answer: Option D — wc - l
Detailed Academic Explanation:
wc - l is the correct answer to “What command is used to count just the number of lines contained in a file”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 12 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In OSI network architecture, the routing is performed by
Correct Answer: Option D — network layer
Detailed Academic Explanation:
network layer is the correct answer to “In OSI network architecture, the routing is performed by”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 13 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as
Correct Answer: Option A — 128.10.2.30
Detailed Academic Explanation:
128.10.2.30 is the correct answer to “The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted decimal notation as”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 14 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which class network is used for a collection of a small number of networks with a large number of nodes?
Correct Answer: Option A — Class A
Detailed Academic Explanation:
Class A is the correct answer to “Which class network is used for a collection of a small number of networks with a large number of nodes”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 15 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What type of addressing format is used by Class A network.
Correct Answer: Option D — Net.Node.Node.Node
Detailed Academic Explanation:
Net.Node.Node.Node is the correct answer to “What type of addressing format is used by Class A network.”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 16 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What types of installations require a special boot disk?
Correct Answer: Option D — All of the above
Detailed Academic Explanation:
All of the above is the correct answer to “What types of installations require a special boot disk”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 17 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
RPM
Correct Answer: Option A — stands for Red Hat Package Manager
Detailed Academic Explanation:
Option "stands for Red Hat Package Manager" is the correct answer for this question under Linux.
💡Key Conceptual Anchor:Linux
Question 18 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to query for a specific package with RPM?
Correct Answer: Option A — rpm -q
Detailed Academic Explanation:
rpm -q is the correct answer to “What command is used to query for a specific package with RPM”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 19 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What script is run for setting bash global defaults for all users?
Correct Answer: Option D — /etc/profile
Detailed Academic Explanation:
/etc/profile is the correct answer to “What script is run for setting bash global defaults for all users”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 20 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Who founded the Linux Kernel?
Correct Answer: Option D — Linus Torvalds
Detailed Academic Explanation:
Linus Torvalds is the correct answer to “Who founded the Linux Kernel”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 21 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is not a part of default Red Hat Linux email system?
Correct Answer: Option A — Pine
Detailed Academic Explanation:
Pine is the correct answer to “Which of the following is not a part of default Red Hat Linux email system”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 22 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
_____ tool allows you to change your default X Window desktop.
Correct Answer: Option C — switchdesk
Detailed Academic Explanation:
switchdesk is the correct answer to “_____ tool allows you to change your default X Window desktop.”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 23 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
In what file can you specify which users are not allowed to access a system via FTP?
Correct Answer: Option A — /etc/ftpusers
Detailed Academic Explanation:
/etc/ftpusers is the correct answer to “In what file can you specify which users are not allowed to access a system via FTP”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 24 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which program is used to schedule particular jobs or programs at particular times on the system?
Correct Answer: Option D — cron
Detailed Academic Explanation:
cron is the correct answer to “Which program is used to schedule particular jobs or programs at particular times on the system”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 25 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which command can force all buffers to disk?
Correct Answer: Option B — sync
Detailed Academic Explanation:
sync is the correct answer to “Which command can force all buffers to disk”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 26 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How many extended partitions can exist on one drive?
Correct Answer: Option D — 1
Detailed Academic Explanation:
1 is the correct answer to “How many extended partitions can exist on one drive”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 27 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
For you to create a swap partition by using fdisk, what must the partition's system ID type be?
Correct Answer: Option B — 82
Detailed Academic Explanation:
82 is the correct answer to “For you to create a swap partition by using fdisk, what must the partition's system ID type be”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 28 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What file contains the list of port numbers (and associated names) monitored by inetd?
Correct Answer: Option A — /etc/services
Detailed Academic Explanation:
/etc/services is the correct answer to “What file contains the list of port numbers (and associated names) monitored by inetd”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 29 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The location of some system configuration and system administrator executable files, is:
Correct Answer: Option D — /sbin
Detailed Academic Explanation:
/sbin is the correct answer to “The location of some system configuration and system administrator executable files, is:”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 30 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
The location for subdirectories for local programs and executables for user and administrative commands, is:
Correct Answer: Option A — /usr
Detailed Academic Explanation:
/usr is the correct answer to “The location for subdirectories for local programs and executables for user and administrative commands, is:”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 31 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
Which of the following is not a filter command?
Correct Answer: Option D — cat
Detailed Academic Explanation:
cat is the correct answer to “Which of the following is not a filter command”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 32 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to display a file contents in octal form?
Correct Answer: Option C — od
Detailed Academic Explanation:
od is the correct answer to “What command is used to display a file contents in octal form”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 33 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to assign executable permission to all of the files named "report"?
Correct Answer: Option A — chmod ugo + x report
Detailed Academic Explanation:
chmod ugo + x report is the correct answer to “What command is used to assign executable permission to all of the files named "report"”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 34 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to change the working directory?
Correct Answer: Option D — cd
Detailed Academic Explanation:
cd is the correct answer to “What command is used to change the working directory”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 35 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to count the number of files in the current directory by using pipes?
Correct Answer: Option C — ls | wc - l
Detailed Academic Explanation:
ls | wc - l is the correct answer to “What command is used to count the number of files in the current directory by using pipes”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 36 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to count just the number of characters in a file?
Correct Answer: Option C — wc - c
Detailed Academic Explanation:
wc - c is the correct answer to “What command is used to count just the number of characters in a file”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 37 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How many class A, B and C network IDs can exist?
Correct Answer: Option D — 2,113,658
Detailed Academic Explanation:
2,113,658 is the correct answer to “How many class A, B and C network IDs can exist”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 38 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
LILO
Correct Answer: Option D — All of the above
Detailed Academic Explanation:
Option "All of the above" is the correct answer for this question under Linux.
💡Key Conceptual Anchor:Linux
Question 39 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
How can you rebuild the RPM file to include the new patches?
Correct Answer: Option A — - - recompile
Detailed Academic Explanation:
- - recompile is the correct answer to “How can you rebuild the RPM file to include the new patches”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
Question 40 of 40
★ PPSC
★ FPSC
★ PPSC
★ FPSC
What command is used to set user and group quotas?
Correct Answer: Option B — /sbin/edquota
Detailed Academic Explanation:
/sbin/edquota is the correct answer to “What command is used to set user and group quotas”. This question is standard in competitive examination syllabi for Linux.
💡Key Conceptual Anchor:Linux
✓Link copied to clipboard
Continue Your Practice
Advanced Mapreduce Concepts — Part 1
Master the next curriculum module with 40 exam-standard MCQs.
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.