Unix OS Hints

seo secrets and tips

C Program

How to capture inputs and outputs on Unix?

I am running a C program on Unix and I have forgotten how to capture the inputs and outputs into a file. I need to know how to turn it on, run the program, then turn it off and then view the content of the file containing the inputs and outputs of the program.

, ,