Linux Exam Questions PDF

Summary

This document contains a series of questions related to Linux system administration and commands. The questions cover various topics, including system processes, file systems, and network configurations.

Full Transcript

If you don’t know the options to a command, where do you go to look them up? What is swap and when is it used? Where would look to find system logs? How can I see all processes that are running? How about which ones are taking up the most CPU/Memory? How do you restart a service? How...

If you don’t know the options to a command, where do you go to look them up? What is swap and when is it used? Where would look to find system logs? How can I see all processes that are running? How about which ones are taking up the most CPU/Memory? How do you restart a service? How do you see what IP address is assigned to the box? How do you install a package for both RHEL and Ubuntu/Debian? What is /etc/fstab used for? How do you format a partition/drive? What is /root used for? What is a user’s $PATH? What various commands are used to extract files from an archive? Some tougher ones: What is an inode, and what is it used for? What can you do with an inode? What commands would be used to add a new drive to a volume group and extend a logical volume? What is /proc used for? How about /sys? How do you display which kernel modules are loaded? How do you load a module? Where do you configure it so a module loads on boot? How do you unload a module? What is “load average”? What intervals is load average shown as? How do you show the load average? How do you show which ports are being listened on? How do you configure the firewall? (bonus points here if you can name how to do it using the distro specific tools and the “old school” tool)

Use Quizgecko on...
Browser
Browser