Question: 12. Suppose you have created a C program hello.c and you have successfully compiled it using goc and obtained the output file hello. When you
12. Suppose you have created a C program hello.c and you have successfully compiled it using goc and obtained the output file hello. When you run it the program runs for a long time (e.g. an hour) and prints a lot of messages on screen (e.g. several hundred lines). You want to examine these messages to find out whether your program is working as desired. Somehow before you can finish you have to close the terminal window and leave your computer to focus on something else. How can you run your program differently to save these printed messages in a file so that later when you return to your computer you can immediately start to examine these messages without having to run the program again? Please type the complete command(s) that works
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
