Contents / Previous / Next


Forground - Background Jobs

A runnung processes that reads from or write to the terminal is said to be in the foreground.


Background processes are are immune to keyboard-generated signals.

bg: Background. Let a process run in the background.

fg: Forground. Put a background process to the "foreground".

CTRL-c: Interrupts (kills) a running terminal process.

CTRL-z: Causes the running process be suspened (to stop).

CTRL-d: End of input (Try: cat >testfile).