Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 38 pages
Exam (elaborations)

200 Linux Interview Q&A PDF: Advanced Linux System Administration & Engineering Practice Questions

Document preview thumbnail
Preview 4 out of 38 pages

Ace your next technical interview with this comprehensive 200 Linux Interview Q&A PDF. Packed with 200 rigorous, verified questions, answers, and clear rationales, this guide covers everything from core kernel concepts, shell scripting, and performance tuning to process management, networking troubleshooting, and enterprise security. Designed for system administrators, DevOps engineers, and IT professionals looking to master Linux infrastructure.

Content preview

200 Linux Interview Q&A

1. What is Linux?


Correct Answer ✅✅:Linux is an open-source, Unix-like operating system kernel developed

by Linus Torvalds. It is widely used in servers, desktops, mobile devices, and embedded

systems.


2. What is the difference between Linux and Unix?


Correct Answer ✅✅:Linux is an open-source Unix-like operating system kernel, while

Unix is a proprietary operating system developed by AT&T Bell Labs. Unix requires a license,

whereas Linux is free and open-source.


3. Explain the Linux file system hierarchy.


Correct Answer ✅✅:The Linux file system hierarchy is structured in a tree-like format

starting from the root directory (/). Important directories include /bin, /etc, /home, /var, /usr, and

/tmp.


4. What is the root account?


Correct Answer ✅✅:The root account is the superuser account in Linux with unrestricted

access to all commands, files, and system resources. It is used for system administration tasks.


5. How do you change file permissions in Linux?

,Correct Answer ✅✅:Use the chmod command. For example, to set read, write, and execute

permissions for the owner and read permissions for others, use:


chmod 744 filename

6. What is the difference between su and sudo?


Correct Answer ✅✅:su switches the user to the root account, requiring the root password.

sudo allows a permitted user to execute a command as the superuser or another user, requiring

the user's password.


7. How do you check the current runlevel?


Correct Answer ✅✅:Use the runlevel command:


runlevel


8. How do you list all installed packages in a Debian-based system? Correct Answer

✅✅:Use the dpkg command:

dpkg --list


9. How do you view running processes in Linux?


Correct Answer ✅✅:Use the ps or top command. For a snapshot:


ps aux


For a dynamic view:

,top


10. What is the use of the grep command?


Correct Answer ✅✅:grep searches for patterns within files. For example, to search for

"error" in a file: grep "error" filename

11. How do you display disk usage of directories?


Correct Answer ✅✅:Use the du command:


du -sh /path/to/directory


12. How do you check free disk space?


Correct Answer ✅✅:Use the df command:


df -h

13. What is a symbolic link?


Correct Answer ✅✅:A symbolic link is a type of file that points to another file or directory.

It is created using the ln -s command:


ln -s /path/to/target /path/to/link


14. How do you find files containing a specific string?


Correct Answer ✅✅:Use the grep command with -r for recursive search:

, grep -r "search_string" /path/to/directory


15. How do you compress files using tar?


Correct Answer ✅✅:Use the tar command with -czf to create a compressed archive:


tar -czf archive.tar.gz /path/to/directory


16. How do you extract files from a tar archive?


Correct Answer ✅✅:Use the tar command with -xzf to extract:


tar -xzf archive.tar.gz


17. How do you find the IP address of your system?


Correct Answer ✅✅:Use the ip or ifconfig command:


ip addr show


or


ifconfig


18. How do you view the contents of a file?


Correct Answer ✅✅:Use commands like cat, less, or more. For example:


cat filename

Document information

Uploaded on
July 25, 2026
Number of pages
38
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$25.39

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
realinesolutions
4.2
(119)
Sold
7
Followers
2
Items
344
Last sold
2 weeks ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions