Полезная информация

UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: 5.6 Built-in C Shell CommandsChapter 5
The C Shell
Next: 5.8 Invoking the Shell

5.7 Job Control

Job control lets you place foreground jobs in the background, bring background jobs to the foreground, or suspend (temporarily stop) running jobs. The C shell provides the following commands for job control. For more information on these commands, see "Built-in Commands" earlier in this section.


Put a job in the background.


Put a job in the foreground.


List active jobs.


Terminate a job.


Notify when a background job finishes.


Suspend a background job.


Suspend a foreground job.

Many job control commands take jobID as an argument. This argument can be specified as follows:


Job number n.


Job whose command line starts with string s.


Job whose command line contains string s.


Current job.


Current job (same as above).


Current job (same as above).


Previous job.

Previous: 5.6 Built-in C Shell CommandsUNIX in a Nutshell: System V EditionNext: 5.8 Invoking the Shell
5.6 Built-in C Shell CommandsBook Index5.8 Invoking the Shell

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System