disown - ksh93 built-in function to disassociate a job with the current shell
disown [job ...]
The ksh93 disown command prevents the current shell from sending a HUP signal to each of the specified jobs when the current shell terminates a login session.
If job is omitted, disown sends the HUP signal to the most recently started or stopped background job.
The following operands are supported:
jobSpecifies the job or jobs on which disown operates.
Specify job as one of the following:
numberRefers to a process ID.
-numberRefers to a process group ID.
%numberRefers to a job number.
%stringRefers to a job whose name begins with string.
%?stringRefers to a job whose name contains string.
%+ or %%Refers to the current job.
%-Refers to the previous job.
>0One or more specified jobs does not exist.
Example 1 Disowning a Job
The following example disowns job 1:
example% disown %1
David Korn, [email protected]
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWcsu
bg(1), jobs(1), ksh93(1), wait(1), attributes(5)
|SunOS 5.11||disown (1)||18 Apr 2007|