1disown(1)                        User Commands                       disown(1)
2
3
4

NAME

6       disown - ksh93 built-in function to disassociate a job with the current
7       shell
8

SYNOPSIS

10       disown [job ...]
11
12

DESCRIPTION

14       The ksh93 disown command prevents the current shell from sending a  HUP
15       signal  to each of the specified jobs when the current shell terminates
16       a login session.
17
18
19       If job is omitted, disown sends the HUP signal  to  the  most  recently
20       started or stopped background job.
21

OPERANDS

23       The following operands are supported:
24
25       job    Specifies the job or jobs on which disown operates.
26
27              Specify job as one of the following:
28
29              number      Refers to a process ID.
30
31
32              -number     Refers to a process group ID.
33
34
35              %number     Refers to a job number.
36
37
38              %string     Refers to a job whose name begins with string.
39
40
41              %?string    Refers to a job whose name contains string.
42
43
44              %+ or %%    Refers to the current job.
45
46
47              %-          Refers to the previous job.
48
49
50

EXIT STATUS

52       0     Successful completion.
53
54
55       >0    One or more specified jobs does not exist.
56
57

EXAMPLES

59       Example 1 Disowning a Job
60
61
62       The following example disowns job 1:
63
64
65         example% disown %1
66
67
68

AUTHORS

70       David Korn, dgk@research.att.com
71

ATTRIBUTES

73       See attributes(5) for descriptions of the following attributes:
74
75
76
77
78       ┌─────────────────────────────┬─────────────────────────────┐
79       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
80       ├─────────────────────────────┼─────────────────────────────┤
81       │Availability                 │SUNWcsu                      │
82       ├─────────────────────────────┼─────────────────────────────┤
83       │Interface Stability          │Uncommitted                  │
84       └─────────────────────────────┴─────────────────────────────┘
85

SEE ALSO

87       bg(1), jobs(1), ksh93(1), wait(1), attributes(5)
88
89
90
91SunOS 5.11                        18 Apr 2007                        disown(1)
Impressum