Linux Job Management Notes

From ITCwiki
Revision as of 02:37, 13 July 2011 by Shari (talk | contribs)
Jump to navigation Jump to search

Job management and control: &, CTRL-Z, jobs, fg, bg

The user login shell is the first program that runs when the user logs into the workstation. The formal definition of the program is a command language interpreter that executes commands; also referred to as an interface between the user and the system. Bash (Bourne Again Shell) is a command line-only interface where programs also referred to as jobs are lunched and controlled, when a job starts it takes control of the terminal, when the job is finished, control is given back to bash, and a command line is redisplayed for the user. However, you can start a job using the ampersand & that states a condition that the job give up control to bash, and give the user a command line while the job continues to run in the background.