# To suspend a job, type CTRL+Z while it is running. You can also suspend a job with CTRL+Y.
# This is slightly different from CTRL+Z in that the process is only stopped when it attempts to read input from terminal.
# Of course, to interupt a job, type CTRL+C.
myCommand &
runs the job in the background and prompts back the shell
jobs
lists all jobs (use with -l to see associated PID)
fg
brings a background job into the foreground
fg %+
brings most recently invoked background job
fg %-
brings the second most recently invoked background job
fg %N
brings job number N
fg %string
brings a job whose command begins with the string
fg %?string
brings a job whose command contains the string
kill -l
returns a list of all signals on the system, by name and number
kill PID
terminates the process with specified PID
ps
prints a line of information about the current running login shell and any processes running under it
ps -a
selects all processes with a TTY except session leaders
trap cmd sig1 sig2
executes a command when a signal is received by the script
trap "" sig1 sig2
ignores that signals
trap - sig1 sig2
resets the action taken when the signal is received to the default