Wrestling with Your Jobs

Every program you run is a job according to the UNIX system, and although it might not be obvious, you have the ability to start and stop them at any time, and more.

Task 16.1: Job Control in the Shell: Stopping Jobs

Whether you're requesting a man page, listing files with ls, starting vi, or running just about any UNIX command, you're starting one or more processes. In UNIX, any program that's running is a process. You can have multiple processes running at once. The pipeline ls -l | sort | more invokes three processes: ls, sort, and more. Processes in both the C and Korn shells are also known as jobs, and the program ...

Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.