JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Solaris Trusted Extensions Reference Manual
search filter icon
search icon

Document Information

Preface

Introduction

User Commands

dtappsession(1)

getlabel(1)

getzonepath(1)

plabel(1)

setlabel(1)

System Administration Commands

System Calls

Trusted Extensions Library

X Library Extensions

File Formats

Standards, Environments, and Macros

Index

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

setlabel(1), label_encodings(4), attributes(5)