MAN Solaris - disown (1)

advertisement


NAME

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

CONTENTS

Synopsis
Description
Operands
Exit Status
Examples
Authors
Attributes
See Also

SYNOPSIS

disown [job ...]

advertisements

advertisements


DESCRIPTION

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.

OPERANDS

The following operands are supported:

job

Specifies the job or jobs on which disown operates.

Specify job as one of the following:

number

Refers to a process ID.

-number

Refers to a process group ID.

%number

Refers to a job number.

%string

Refers to a job whose name begins with string.

%?string

Refers to a job whose name contains string.

%+ or %%

Refers to the current job.

%-

Refers to the previous job.

EXIT STATUS

0

Successful completion.

>0

One or more specified jobs does not exist.

EXAMPLES

Example 1 Disowning a Job

The following example disowns job 1:

example% disown %1

AUTHORS

David Korn, [email protected]

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWcsu

SEE ALSO

bg(1), jobs(1), ksh93(1), wait(1), attributes(5)

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 disown (1) 18 Apr 2007
Generated by Open Solaris Forum from /usr/share/man/man1/disown.1 using man macros with tbl support.