Belajar Sendiri

Commands

jobs

jobs | fg [%N] | bg [%N] | <command> &

Risk: Safe

What it does

Lists the programs this terminal started in the background.

When to use it

To juggle long tasks while you keep typing.

Example

$ sleep 300 &

Start a long job in the background.

$ jobs

List them.

$ fg %1

Bring job 1 to the front.

$ bg

Let a paused job (Ctrl+Z) run on in the back.