How do I run a job in the background?
Q: I used to do ctrl-Z to
temporarily stop execution of a job and issue another command to resume
execution of the job at the background. I just forgot how to do the last
part. I have a big file to compress and I do not want to sit waiting for
the cursor while the compression is being done especially since I am not
in the Sparc lab and can open other windows to do other things.
A: after ctrl-Z , type fg (foreground) The easiest way is to issue
the command in the background from the beginning: compress filename &
You should get the prompt immediately!
Click Here To Go Back
To Main Unix Page
Last modified:
10/26/01
| Contact Webmaster
| Privacy and Legal Statements | Copyright Information |
©Copyright 2006, The Pennsylvania State University |