Lecture 13 CSCE 510 - Multiple Pipes, Old Signals

Oct 10 Links - Previous Lecture - - Index - - Next Lecture -
[Assignment:]
  1. Modify graceful.c - to ignore SIGINT
  2. Compile and run and kill with a SIGQUIT
  3. Run again in the background and use the kill command to kill it with a SURE KILL signal (read "man 1 kill")
  4. Write a section of code that will search a command list for the ">" and if found set remapStdoutFlag = 1, use the next word as the name of a file to open, fork and in the child remap stdout then execute the command. Test your program with the command ls -lrt > list.

- Previous Lecture - - Index - - Next Lecture -
URL = http://www.cs.sc.edu/~matthews/Courses/510/Lectures/lec13.html