CSE 2353 Spring 2007 Creating a Script File on a Unix System All programs submitted for HW problems in CSE 2353 need to include: program listing, proof of compilation, and execution output. On a Unix/Linux system, the easiest way is to create a script file. A script file contains all terminal I/O from the point in time it is created until the script is exited. Use the following sequence of operations to create a script file named “fileout” that contains the needed output for a program called prog.c. 1. script fileout 2. cat prog.c 3. gcc –o prog prog.c (or whatever the appropriate compiler command is) 4. prog 5. exit At this point, print out the text file “fileout” and submit with homework solutions.