2 .\" Copyright (c) 1982-2007 AT&T Knowledge Ventures
3 .\" To view license terms, see http://www.opensource.org/licenses/cpl1.0.txt
4 .\" Portions Copyright (c) 2007, Sun Microsystems, Inc.
5 .TH DISOWN 1 "Apr 18, 2007"
7 disown \- ksh93 built-in function to disassociate a job with the current shell
11 \fBdisown\fR [\fIjob ...\fR]
17 The \fBksh93\fR \fBdisown\fR command prevents the current shell from sending a
18 \fBHUP\fR signal to each of the specified jobs when the current shell
19 terminates a login session.
22 If \fIjob\fR is omitted, \fBdisown\fR sends the \fBHUP\fR signal to the most
23 recently started or stopped background job.
27 The following operands are supported:
34 Specifies the job or jobs on which disown operates.
36 Specify \fIjob\fR as one of the following:
43 Refers to a process ID.
49 \fB\fB-\fR\fInumber\fR\fR
52 Refers to a process group ID.
58 \fB\fB%\fR\fInumber\fR\fR
61 Refers to a job number.
67 \fB\fB%\fR\fIstring\fR\fR
70 Refers to a job whose name begins with \fIstring\fR.
76 \fB\fB%?\fR\fIstring\fR\fR
79 Refers to a job whose name contains \fIstring\fR.
85 \fB\fB%+\fR or \fB%%\fR\fR
88 Refers to the current job.
97 Refers to the previous job.
109 Successful completion.
118 One or more specified jobs does not exist.
123 \fBExample 1 \fRDisowning a Job
126 The following example disowns job 1:
139 David Korn, \fBdgk@research.att.com\fR
143 See \fBattributes\fR(5) for descriptions of the following attributes:
151 ATTRIBUTE TYPE ATTRIBUTE VALUE
153 Interface Stability Uncommitted
159 \fBbg\fR(1), \fBjobs\fR(1), \fBksh93\fR(1), \fBwait\fR(1), \fBattributes\fR(5)