Applying Extra Job Control Under the Korn Shell
The previous section covered use of background jobs that would apply to all shells, including the Bourne shell. Newer shells have made it much easier to work with background jobs by adding a feature called job control. For example, some systems have added job control to the Bourne shell, which can be invoked as jsh. This section describes the other job control commands, which are similar to jsh: They are csh for the C shell and ksh for the Korn shell.
Listing Background Jobs
To list all background jobs in any shell supporting job control, go to the shell prompt and enter jobs.
You will see output like this:
$ jobs [4] + Running find / -name acme -print > /tmp/acme.find & [3] - Stopped (SIGTSTP) ...
Get Practical UNIX now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.