next up previous contents
Next: Execution Monitoring Up: Compiling and Running C Previous: Compiling

Running Programs

Continuing from the example above, the executable prog obtained above is now used to run the program. At the cheetah prompt type prog and press ENTER

If you want to capture the output of prog in a file which you can edit later type in the following format
prog > out_put_file

Using the & character you can run your program in background. This means you will return to the command prompt as soon as you press enter. You can now continue with other tasks eg. reading mail! For example
prog > output_file &.



Sushil Prasad
Fri Oct 9 10:28:36 EDT 1998