| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
jobs - List Jobs that are Running from the Current Shell A job is a process (program) that is associated with with a single shell. The command: jobs will list all jobs that are running from the current shell. For example: if a user opens a man page for the command ls, this command can be suspended by pressing a control + Z (^Z) combination and the command line prompt would return. If the jobs command were then run the following output would be seen: [1] + Stopped man ls The user could then run other commands and then returning to the man command by bringing it to the foreground using: fg %1 Or this job can be stopped without bringing it back to the foreground by: kill %1 Jobs that do not need the resources of the console can be restarted in the background by: bg %1 Finally foreground jobs can also be killed by simultaneously pressing the control key and C (^C) combination.
Home - Table Of Contents - Contact Us CertiGuide to A+ (A+ 4 Real) (http://www.CertiGuide.com/apfr/) on CertiGuide.com Version 1.0 - Version Date: March 29, 2005 Adapted with permission from a work created by Tcat Houser et al. CertiGuide.com Version © Copyright 2005 Charles M. Kozierok. All Rights Reserved. Not responsible for any loss resulting from the use of this site. |