The shell allows you to stop or temporarily suspend a process, send a process to background, and bring a process from background to foreground. In this context, processes are called ``jobs.
- To see how many jobs there are, type jobs. Here the jobs are identified by their job number, not by their PID.
- To stop a process running in foreground, press <CTRL-C> (it won't always work).
- To suspend a process running in foreground, press <CTRL-Z> (ditto).
- To send a suspended process into background, type bg <%job> (it becomes a job).
- To bring a job to foreground, type fg <%job>. To bring to foreground the last job sent to background, simply type fg.
- To kill a job, type kill <%job> where <job> may be 1, 2, 3,...