home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


UNIX in a Nutshell: System V Edition

UNIX in a Nutshell: System V EditionSearch this book
Previous: Reference: integer Chapter 4
The Bourne Shell and Korn Shell
Next: Reference: kill
 

jobs



jobs

 [

options

] [

jobIDs

]

List all running or stopped jobs, or list those specified by jobIDs . For example, you can check whether a long compilation or text format is still running. Also useful before logging out. See "Job Control."

Options

-l

List job IDs and process group IDs.

-n

List only jobs whose status changed since last notification. Korn shell only.

-p

List process group IDs only.

-x cmd

Replace each job ID found in cmd with the associated process ID and then execute cmd . Not valid for Korn shell.


Previous: Reference: integer UNIX in a Nutshell: System V Edition Next: Reference: kill
Reference: integer Book Index Reference: kill

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