sdfls(1)
NAME
sdfls, sdfll − list contents of SDF directories
SYNOPSIS
sdfls [−AadlpFi] [names]
sdfll [−AadlpFi] [names]
DESCRIPTION
sdfls is intended to mimic ls(1). sdfll is equivalent to sdfls −l.
An SDF file name is recognized by the embedded colon (:) delimiter (see sdf(4) for SDF file naming conventions).
For each SDF directory named, sdfls lists the contents of that SDF directory; for each SDF file named, sdfls repeats its name and the information requested.
For users with appropriate privileges, sdfls defaults to listing all files except . (current directory) and .. (parent directory).
sdfls recognizes the following options:
−a List all entries. In the absence of this option, entries whose names begin with a period (.) are not listed.
−A Same as −a, except that the current directory . and parent directory .. are not listed. For users with appropriate privileges, this flag defaults to ON, and is turned off by −A. Due to the internal data representation of the SDF directory format, the −A and −a options perform the same function.
−d If argument is a directory, list only its name; often used with −l to get the status of a directory.
−l List in long format giving mode, number of links, owner, group, size in bytes, and time of last modification for each file.
−p Do not use /etc/passwd and /etc/group to interpret user and group ownership, but rather print out the numeric form.
−F If the entry is a directory or SRM special file, print a / character after the entry, or if the entry is executable, print a ∗ character after the entry.
−i Print the inode number of each entry before listing the entry names.
EXAMPLES
The following examples assume that an SDF directory structure exists on the HP-UX device file /dev/rdsk/c7s0s1.
List all files in the root directory of the SDF directory structure:
sdfls −a /dev/rdsk/c7s0s1:
List (in long format) all the information about the SDF directory /users/root itself (but not the files in the directory):
sdfls −ld /dev/rdsk/c7s0s1:/users/root
Print (in long form) all the information about every file in the SDF directory etc, printing numbers instead of names for user and group IDs. This is useful if the SDF directory structure was not created on the local system, but was brought in from an external Series 500 system.
sdfls −ap /dev/rdsk/c7s0s1:/etc
DEPENDENCIES
Series 500 systems support network special files. sdfls with the −F option prints a / character after any network special file entries.
AUTHOR
sdfls was developed by HP.
FILES
/etc/passwd user id file
/etc/group group id file
SEE ALSO
Hewlett-Packard Company — HP-UX Release 8.05: June 1991