Course Homepage

HW12

  1. Why doesn’t a program need to open the standard in file?
  2. Write a Bash command that uses ls -l and grep to find lines matching “rw” as a single pipeline.
  3. Write a snippet of C code that creates a pipe between two processes, and redirects the first process’s standard out to the second one’s standard in. Use any programs you like.