UP | HOME

HW11
COP-3402

  1. What files comprise standard I/O?
  2. Write a bash command that uses grep to find lines matching "hello" from standard in, redirected from a file called "my.in".
  3. Why doesn't a program have to open the standard out file?
  4. What syscall duplicates file descriptors (there is more than one answer)?
  5. Write a snippet of code that redirects a process's standard out to a file called "my.out".

Author: Paul Gazzillo

Created: 2025-02-11 Tue 23:32

Validate