Lectures, Assignments, and Exercises
2.1 proc
2.2 ipc
2.3 vm
2.4 fs
2.5 io
2.6 virt
2.7 sec
2.8 perf
2.9 Paper
2.10 Presentation
2.11 Midterm
2.12 Final

2.1 proc

This exercise is optional. Refer to the exercise policy for details.
Implement a basic UNIX-style command shell with the following features:
  • Searches for command executables in a list of directories.

  • Allows redirection of program input & output to files.

  • Support redirection of IO to other processes.

  • Provides job control in the form of background-able (through Ctrl-Z) and foreground-able (through fg) processes.

  • Captures signals from child processes such as termination, hangup, and so on.