Exam2StudyGuide
Exam2StudyGuide
Exam 2 covers Chapters 4 - 5, 13 - 14, and 20 - 22. Expect a similar mix of short answer and
multiple choice questions as seen in Exam 1. Additionally, there will be a matching section
covering the important port numbers we reviewed last week.
Ch 4: Process Control
• Know the difference between a process and a program.
• What is a PID?
• Be familiar with the process life cycle and the system calls fork, exec, exit, and wait.
• Know what signals are, and know what the following signals do: HUP, INT, QUIT, KILL.
• Be able to retrieve the PID of a give process and then forcefully kill it.
• Be familiar with the top command.
• What is a niceness value?
• What does the strace command do?
• What do the df and du commands do?
• Be able to schedule a cron job if given the time it should run.
Ch 5: The Filesystem
• Be able to identify a Linux filesystem format vs a Windows format. Example: ext4 is
Linux and NTFS is Windows.
• Be able to mount and unmount a filesystem (section 5.2).
• Know what the following directories commonly store: /boot, /etc, /bin, /home, /var,
/dev.
• Know what a block device is.
• Know what the journal is.
Ch 20: Storage
• Know which of the 3 disk types is fastest.
• What does the lsblk command do?
• Be able to identify common partitioning utilities.
• What does mkfs do?
• Know the difference between RAID 0, 1, and 5.
• Know what mdadm is (no need to know how to use it, just know what it is).
Ch 21: NFS
• What is the difference between NFS and SMB. Which is native to Linux?
• Between NFS and SMB, which is stateless and which is stateful? Which causes more
network traffic?
• What is an export?
• What is squashing root and the nobody account?
• What is the config file for NFS, and where is it stored.
• Be able to write a configuration entry for an export.
Ch 22: SMB
• What package must be installed in order for Linux to work with SMB?
• What is the config file for SMB, and where is it stored?