disown [job ...]
The ksh 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:
Specifies the job or jobs on which disown operates.
Specify job as one of the following:
Refers to a process ID.
Refers to a process group ID.
Refers to a job number.
Refers to a job whose name begins with string.
Refers to a job whose name contains string.
Refers to the current job.
Refers to the previous job.
Successful completion.
One or more specified jobs does not exist.
The following example disowns job 1:
example% disown %1
David Korn, [email protected]
See attributes(5) for descriptions of the following attributes:
|