Restarting a suspended foreground process

To restart a foreground process that you have suspended use the fg command. This command is not available if you are using the Bourne shell. For example:

   lpr -Pps23 bigfile.ps
   ...
   ...
   ^Z
   Stopped
   date
   Thu Feb 18 16:11:05 GMT 1993
   fg
   lpr -Pps23 bigfile.ps

This starts a process in the foreground and suspends it. The user then checks the date and restarts the foreground process.


[Home] [Search] [Index] This site maintained by webmaster@cs.auckland.ac.nz