Unix job control command list
The following table lists the basic Unix job control commands:
| Command | Explanation | Example |
|---|---|---|
& |
Run the command in the background |
% long_cmd &
|
Ctrl-z |
Stop the foreground process |
[Ctrl-z]
|
jobs |
List background processes |
% jobs
|
%n |
Refers to the background number n
|
% fg %1
|
%?str |
Refers to the background job containing
str |
% fg %?ls
|
bg |
Restart a stopped background process |
% bg
|
fg |
Bring a background process to the foreground |
% fg %1
|
kill |
Kill a process |
% kill %2
|
~ Ctrl-z |
Suspend an rlogin or
ssh session |
host2>~[Ctrl-z]
|
~~ Ctrl-z |
Suspend a second level
rlogin or ssh
session |
host3>~~[Ctrl-z]
|
This table is adapted from Essential System Administration, by Aeleen Frisch, copyright 1995, O'Reilly & Associates, Inc.
Note: For security reasons, rlogin is
not available on UITS computers at Indiana University.
At Indiana University, for personal or departmental Linux or Unix systems support, see At IU, how do I get support for Linux or Unix?
This is document afnw in domain all.
Last modified on October 14, 2008.
Last modified on October 14, 2008.







