O'Reilly logo

Practical UNIX by Steve Moritsugu - DTR Business Systems

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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) ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required