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:

   lp -dps23 bigfile.ps
   ...
   ...
   ^Z
   Stopped
   date
   Thu Feb 18 16:11:05 GMT 1993
   fg
   lp -dps23 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 unixhelp@mathcs.duq.edu