Solaris Trusted Extensions Reference Manual
只搜寻这本书
以 PDF 格式下载本书 (937 KB)

getlabel(1)

NAME | Synopsis | Description | Options | Return Values | Attributes | See Also

NAME

    getlabel – display the label of files

Synopsis

    /usr/bin/getlabel  [-sS] filename...

Description

    getlabel displays the label that is associated with each filename. When options are not specified, the output format of the label is displayed in default format.

Options

    -s

    Display the label that is associated with filename in short form.

    -S

    Display the label that is associated with filename in long form.

Return Values

    getlabel exits with one of the following values:

    0

    Successful completion.

    1

    Unsuccessful completion due to usage error.

    2

    Unable to translate label.

Attributes

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

    ATTRIBUTE TYPE

    ATTRIBUTE VALUE

    Availability

    SUNWtsu

    Stability (Command Line)

    Stable

    Stability (Output)

    Not an interface

See Also

SunOS 5.10 Last Revised 31 May 2006

NAME | Synopsis | Description | Options | Return Values | Attributes | See Also