Friday, June 10, 2005

Listing suspended and background processe

Listing suspended and background processes

When a process is running, backgrounded or suspended, it will be
entered onto a list along with a job number. To examine this list,
type

% jobs

An example of a job list could be

[1] Suspended sleep 100
[2] Running netscape
[3] Running nedit

To restart (foreground) a suspended processes, type

% fg %jobnumber

For example, to restart sleep 100, type

% fg %1

Typing fg with no job number foregrounds the last suspended process.

0 Comments:

Post a Comment

<< Home