disown

disown

TLDR

Disown the current job

$ disown
copy


Disown a specific job
$ disown %[job_number]
copy


Disown all jobs
$ disown -a
copy


Keep job (do not disown it), but mark it so that no future SIGHUP is received on shell exit
$ disown -h %[job_number]
copy

Copied to clipboard