SDFLS(1) — HP-UX
Series 300, 800 Only
NAME
sdfls, sdfll − list contents of SDF directories
SYNOPSIS
sdfls [ −AadlpFi ] [ names ]
sdfll [ sdfls options ] [ 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.
If you are the super-user, sdfls defaults to listing all files except . (current directory) and .. (parent directory).
There are several options to sdfls:
−a List all entries; in the absence of this option, entries whose names begin with a period (.) are not listed.
−A The same as −a, except that the current directory "." and parent directory ".." are not listed. For the super-user, 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 the listing the entry names.
EXAMPLES
The examples that follow assume that an SDF directory structure exists on the HP-UX device file /dev/rdsk/c7s0s1.
The first example will list all the files in the root directory of the SDF directory structure:
sdfls −a /dev/rdsk/c7s0s1:
The second example gives (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
The third example will 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.
sdfls −ap /dev/rdsk/c7s0s1:/etc
The previous example is useful if the SDF directory structure was not created on your system but brought in from another series 500 system.
HARDWARE DEPENDENCIES
On the Series 500, network special files are supported. With the −F option, sdfls will print a ’/’ character after the entry for a network special file.
AUTHOR
Sdfls was developed by the Hewlett-Packard Company.
FILES
/etc/passwd to get user ids.
/etc/group to get group ids.
SEE ALSO
Hewlett-Packard Company — Version B.1, May 11, 2021