Job control lets you place foreground jobs in the background, bring background jobs to the foreground, or suspend (temporarily stop) running jobs. The C shell provides the following commands for job control. For more information on these commands, see "Built-in C Shell Commands," later in this chapter.
bgPut a job in the background.
fgPut a job in the foreground.
jobsList active jobs.
killTerminate a job.
notifyNotify when a background job finishes.
stopSuspend a background job.
CTRL-ZSuspend a foreground job.
Many job-control commands take a jobID as an argument. This argument can be specified as follows:
%nJob number n
%sJob whose command line starts with string s
%?sJob whose command line contains string s
%%Current job
%Current job (same as above)
%+Current job (same as above)
%-Previous job