|Skip Navigation Links|
|Exit Print View|
|man pages section 1: User Commands Oracle Solaris 11.1 Information Library|
- display the label of files
/usr/bin/getlabel [-sS] filename...
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.
Display the label that is associated with filename in short form.
Display the label that is associated with filename in long form.
getlabel exits with one of the following values:
Unsuccessful completion due to usage error.
Unable to translate label.
See attributes(5) for descriptions of the following attributes:
The command line is Committed. The output is Not-an-Interface.
The functionality described on this manual page is available only if the system is configured with Trusted Extensions.