HW11
- What files comprise standard I/O?
- Write a Bash command that uses
grepto find lines matching “hello” from standard in, redirected from a file called “my.in”. - Why doesn’t a program have to open the standard out file?
- What system call duplicates file descriptors? (There is more than one answer.)
- Write a snippet of C code (not Bash code!) that redirects a process’s standard out to a file called “my.out”.