Code-Memo

Background and foreground jobs

Job control (interactive shells)

Run in background:

long_task &

List jobs:

jobs -l

Bring to foreground / send to background:

fg %1
bg %1

Stop / continue:

nohup / disown

Keep running after logout:

nohup long_task >out.log 2>&1 &
disown

System services vs jobs