CS208 Introduction to Computer Systems Friday, 12 May 2023 Sample programs to help with your shell assignment, phase 1 - args.c - exectest_with_args.c - redirect.c + News story & assembly language + Getting started on the shell assignment - Grab shell208.c off the Samples page - Assume the user always types a one-word command and do the fork/execlp thing with those commands - One command (no |, >, <), but with command-line arguments args.c, exectest_with_args.c + fork, exec, wait - The OS's perspective - execlp vs. execvp + The file descriptor table - open, read, write, close - stdin, stdout, stderr - dup2 - redirect.c