The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Поиск:  Каталог документации

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]



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру