Placing a foreground process in the background

To run a foreground process as a background job:

1. Suspend the foreground process.

2. Enter the bg (background) command to move the process into the background.

For example:

   lp -dps23 part[1-8].ps
   ^Z
   Stopped
   bg
   [1]    lp -dps23 interface.ps &
   jobs
   [1]    Running              lp -dps7 interface.ps

This starts a foreground process to print several files. The process is then stopped and the job moved into the background. The state of this job is then checked.


[Home] [Search] [Index] This site maintained by unixhelp@mathcs.duq.edu