disown
Official Description
Prevents ksh from sending a HUP signal to existing jobs when the login process ends.
Syntax
disown [job...]
Options
None
Oddities
Available in ksh93 and beyond.
Performs the same function as the nohup command, but it is used after the target command has already started.
Example
$ buzz& [1] 3994 $ $ jobs [1] + Running buzz& $ $ ps laxw | grep buzz 000 500 3994 3993 12 4 1812 840 - RN pts/0 0:13 ksh buzz $ $ disown %1 # The buzz job will keep running after logout.
Get Korn Shell Programming by Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.