< Day Day Up > |
Job control is used to control the execution of background and foreground jobs. To use Korn shell job control, the monitor option ( set “o monitor ) must be set on systems that do not support job control. See Table 11.5 for job control commands. Table 11.5. Job Control Commands
Example 11.25.1 $ vi [1] + Stopped # vi 2 $ sleep 25& [2] 4538 3 $ jobs [2] + Running # sleep 25& [1] Stopped # vi 4 $ jobs l [2] + 4538 Running # sleep 25& [1] 4537 Stopped # vi 5 $ fg %1 EXPLANATION
|
< Day Day Up > |