Friday, March 7, 2014

how to send a running program to backgroud in linux?

Type
Ctrl + Z && bg
then the program will run in background and you can't kill it by ctrl + C unless you use
fg
then the program will back to foreground.

If you want to run a program at the beginning, (you may want to use the same terminal while the programming is running), add & at the end.
./program &

No comments:

Post a Comment