UNIX Guide, for beginners and Mac OS X users
You are here: SillyDog701 > UNIX Guide >SillyDog701 > UNIX Guide > (index) supportSupport - ask in our friendly forums.

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:

   lpr -Pps23 part[1-8].ps
   ^Z
   Stopped
   bg
   [1]    lpr -Pps23 interface.ps &
   jobs
   [1]    Running              lpr -Pps7 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]UNIX Guide home | [Search]search | index
Page URL: http://sillydog.org/unix/
[SillyDog701] [Netscape] [MozInfo701] [MacCentre701] [UNIX Guide] [AntTunes701][Forums] [Search] [Change Log] [Feedback] [About Us] [Sitemap]
This UNIX Guide maintained by SillyDog701, portion of this Guide is based on UNIXhelp. UNIXhelp is copyright University of Edinburgh. This page was last modified on 14 March, 2006
Netscape NOW!Made on a Mac
support MozInfo701 and SillyDog701