In-class notes for 09/13/2019
CS 273 (OS), Fall 2019
Upcoming homework assignment HW3, due Monday "midnight"
Brief quiz Wednesday - topics Monday
First project will be due on October 7 (see below)
Submitted questions on assignments and technology
Use this form to submit questions for a future class meeting
Programming with system calls (mopen)
Selected Linux system calls
Process diagrams for describing system calls
Inclass examples:
uniq file.out > myfile2
uniq < file.out > myfile2
sort myfile | uniq > myfile2
sort < myfile | uniq >> myfile2
Shell project assignment
Basic idea
-
Report (overview, system calls, known bugs, 1-2 pg experiences)
Extra features that use system calls. E.g., redirect output, pipe,
cd; path search counts (useexecve()system call)
Strategy for developing a shell
Lab2 on parsing -- step 1 in strategy
HW5 (to be announced) will include more steps in the strategy
We now know enough to announce the first project -- to write a Linux shell using system calls. Project assignment page
Will discuss this project later, but you can start now if you want. Be sure to see the strategy recommendations for incrementally developing your shell.
Reading questions
< >