f some-boring-process
is running in your current bash session:
- halt it with
ctrl-z
to give you the bash prompt - put it in the background with
bg
- note the job number, or use the
jobs
command - detach the process from this bash session with
disown -h %1
(substitute the actual job number there).
or use screen or tmux