CSCI 323
Exam 2 Study Guide
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?
Ch 13: TCP/IP and Ethernet Overview
• Be able to write the 7 layers of the OSI model in order.
• Be able to identify protocols that occur at a given layer. Example: TCP occurs at Layer 4.
• Know that TCP headers contain source/destination ports
• Know that IP headers contain source/destination IP addresses.
• Know that Ethernet headers contain source/destination MAC addresses.
• What are significant and least significant bits?
• Which flags are used in the TCP threeway handshake?
• What is a subnet mask?
• What is a MAC address?
• What is a public IP address?
• What is a private IP address?
Ch 13: TCP/IP Networking (Configuring in Linux)
• What does the ip addr command do?
• What does the ping command do?
• What is DNS?
• What is a hostname?
• What is the range of well-known ports?
• Be able to match the service associated with the following ports: 7, 21, 22, 23, 25, 53,
67/68, 80, 443, 389, 636, 3306.
• What is a gateway?
• Know the steps to assign a static IP in Ubuntu (section 13.10.b).