Linux Signals and Job Control/Remove job from shell tracking

Prevent the shell from sending SIGHUP to the job on exit.

Section: Shell Job Control

Remove job from shell tracking

bash
bash
disown %1
Explanation

Prevent the shell from sending SIGHUP to the job on exit.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Shell Job Control
Start command in background
Launch a command as a background job.
OpenIn sheetbashsame section
List shell jobs
Show background and stopped jobs with PIDs.
OpenIn sheetbashsame section
Bring job to foreground
Resume a job in the foreground.
OpenIn sheetbashsame section
Resume stopped job in background
Continue a stopped job in the background.
OpenIn sheetbashsame section
Suspend current foreground job
Suspend the current foreground process group.
OpenIn sheetbashsame section
Wait for shell job
Block until a shell job completes.
OpenIn sheetbashsame section