Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

nd(1) OSS Shell and Utilities Reference Manual
-perm [-]octal_number
If the - (dash) is omitted, TRUE when the le permission bits exactly match the value of
the octal number octal_number and only the bits corresponding to the octal mask 07777
are compared. (For more information, see the description of the octal mode on the
chmod commands reference page.) If octal_number is preceded by a - (dash), the
expression evaluates as TRUE if at least all of the bits specied in octal_number that
are also set in the octal mask 07777 are set.
-prune Always TRUE. This expression prunes the search tree at the le. That is, if the current
pathname is a directory, the nd command does not descend into that directory. If the -
depth expression is specied, the -prune expression has no effect.
-type type
TRUE if the le type is of the specied type as follows:
b Block special le
c Character special le
d Directory
f Plain le
p FIFO (a named pipe)
-links number
TRUE if the le has number links. The argument number is a decimal integer that can
be specied as +number (more than number), -number (less than number), or number
(exactly number). See the reference page for the ln command.
-user user
TRUE if the le belongs to user.
-nouser TRUE if the le belongs to a user ID for which the getpwuid() function returns null.
-group group
TRUE if the le belongs to group.
-nogroup
TRUE if the le belongs to a group ID for which the getgrgid() function returns null.
-size number[c | k]
TRUE if the le is number blocks long (512 bytes per block). For this comparison, the
le size is rounded up to the nearest block. If the c argument is present, the expression
evaluates to TRUE if the le is number bytes long. If the k argument is present, the
expression evaluates to TRUE if the le is number kilobytes long. For this comparison,
the le size is rounded up to the nearest kilobyte.
The argument number is a decimal integer that can be specied as +number (more than
number), -number (less than number), or number (exactly number).
-atime number
TRUE if the le was accessed in the past number days. The argument number is a
decimal integer that can be specied as +number (more than number), -number (less
than number), or number (exactly number). For example -atime 3 is TRUE if the le
was accessed any time in the period from 72 to 48 hours ago.
3138 Hewlett-Packard Company 527188-004