Open System Services Shell and Utilities Reference Manual (G06.29+, H06.08+, J06.03+)
ls(1) OSS Shell and Utilities Reference Manual
UTILSGE Specifies that HP extensions to the root directory should be omitted when the ini-
tial directory is root and a recursive operation occurs in an OSS shell command.
Application programs that test this variable might also honor its settings.
The UTILSGE value can be any of the following:
NOE Omit the /E directory.
NOG Omit the /G directory.
NOG:NOE Omit both the /G and /E directories.
The effect of assigning a value to the UTILSGE environment variable is the
same as specifying the -W NOG or -W NOE flag in the command.
Modes
The mode displayed with the -l flag is interpreted by the first character, as follows:
b Block special file
c Character special file
d Directory
l Symbolic link
p First-in-first-out (FIFO) special file
s AF_UNIX local socket
- Ordinary file
Permissions
The second through tenth characters in the permissions code are divided into three sets of three
characters each. The first set of three characters shows the owner’s permission. The next set of
three characters shows the permission of the other users in the group. The last set of three char-
acters shows the permission of everyone else. The three characters in each set show read, write
and execute permission of the file. Execute permission of a directory lets you search a directory
for a specified file.
Permissions are indicated as follows:
r Read
w Write
x Execute or search (directories)
- No access
The group-execute permission character is s if the file has set-group-ID mode. The user-execute
permission character is s if the file has set-user-ID mode. See the chmod command for the mean-
ing of this mode. The indications of set-ID bit of the mode are capitalized (S) if the correspond-
ing execute permission is not set.
When the sizes of the files in a directory are listed, the ls command displays a total count in 512-
byte units, including indirect blocks.
5−82 Hewlett-Packard Company 527188-021