Документ взят из кэша поисковой машины. Адрес оригинального документа : http://comet.sai.msu.ru/UNIXhelp/shell/jobz3.3.html
Дата изменения: Fri Jan 17 12:43:21 1997
Дата индексирования: Mon Oct 1 23:37:11 2012
Кодировка:
Bring a job into the foreground

Bring a job into the foreground

To bring a specific background job into the foreground:

1. Enter the fg (foreground) command followed by the job number.

   fg job_number

If there is only one job running in the background just enter the fg command.

For example:

   lpr -Pps23 interface.ps &
   jobs
   [1]  + Running              xterm -g 90x55
   [2]  - Running              xterm -g 90x55
   [3]    Running              lpr -Ppsa interface.ps
   fg 3
   lpr -Pps23 interface.ps

This starts a process to print a file as a background job. The user then checks the current active jobs and brings the print job - job number three (3) - into the foreground.


[Home] [Search] [Index]