1getlabel(1) User Commands getlabel(1)
2
3
4
6 getlabel - display the label of files
7
9 /usr/bin/getlabel [-sS] filename...
10
11
13 getlabel displays the label that is associated with each filename. When
14 options are not specified, the output format of the label is displayed
15 in default format.
16
18 -s Display the label that is associated with filename in short form.
19
20
21 -S Display the label that is associated with filename in long form.
22
23
25 getlabel exits with one of the following values:
26
27 0 Successful completion.
28
29
30 1 Unsuccessful completion due to usage error.
31
32
33 2 Unable to translate label.
34
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Availability │SUNWtsu │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │See below. │
48 └─────────────────────────────┴─────────────────────────────┘
49
50
51 The command line is Committed. The output is Not-an-Interface.
52
54 setlabel(1), m_label(3TSOL), label_encodings(4), attributes(5)
55
57 The functionality described on this manual page is available only if
58 the system is configured with Trusted Extensions.
59
60
61
62SunOS 5.11 11 Jul 2008 getlabel(1)