×
Create a new article
Write your page title here:
We currently have 3,186 articles on s23. Type your article name above or create one of the articles listed here!



    s23
    3,186Articles

    UnixCommands/jobs

    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,...
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.