Linux Job Management Notes: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''''Job management and control: &, CTRL-Z, jobs, fg, bg''''' | '''''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. | 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. |
Revision as of 02:39, 13 July 2011
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.