AT&T UNIX™PC Unix System V Users Manual - tenox
AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox
FIND ( 1 ) FIND (1) NAME find - find files SYNOPSIS find path-name-list expression DESCRIPTION Find recursively descends the directory hierarchy for each path name in the path-name-list (i.e., one or more path names) seeking files that match a boolean expression written in the primaries given below. In the descriptions, the argument n is used as a decimal integer where +n means more than n, -n means less than n and n means exactly n. -name file True if file matches the current file name. Normal shell argument syntax may be used if escaped (watch out for [, ? and *). -perm onum True if the file permission flags exactly match the octal number onum (see chmod(l)). If onum is prefixed by a minus sign, more flag bits (017777, see stat(2)) become significant and the flags are compared: ( flags&onum )==onum -type c True if the type of the file is c, where c is b, c, d, p, or r for block special file, character special file, directory, fifo ( a.k.a named pipe), or plain file. -links n True if the file has n links. -user uname True if the file belongs to the user una me. If uname is numeric and does not appear as a login name in the /etc/passwd file, it is taken as a user ID. -group gname True if the file belongs to the group gname . If gname is numeric and does not appear in the /etc/group file, it is taken as a group ID. -size n True if the file is n blocks long (512 bytes per block). -atime n True if the file has been accessed in n days. -mtime n True if the file has been modified in n days. -ctime n True if the file has been changed in n days. -exec cmd True if the executed cmd returns a zero value as exit status. The end of cmd must be punctuated by an escaped semicolon. A command argument {} is replaced by the current path name. -ok cmd Like -exec except that the generated command line is printed with a question mark first, and is executed only if the user responds by typing y. - 1 -
- Page 275 and 276: DD ( 1 ) DD ( 1) NAME dd - convert
- Page 277 and 278: � I DELTA ( l ) DELTA (I) NAME de
- Page 279 and 280: DELTA ( 1) DELTA (!) WARNINGS Lines
- Page 281: DEROFF (l) DEROFF (l) NAME derofi -
- Page 284 and 285: DIFF ( 1) DIFF ( 1) -e producing a
- Page 287: DIFF3 ( 1 ) DIFF3 (1) NAME diff3 -
- Page 291: DIRCMP ( 1) DIRCMP ( 1) NAME dircmp
- Page 295 and 296: DUMP ( 1 ) DUMP(!) NAME dump - dump
- Page 297: ECHO (l) ECHO (l) NAME echo - echo
- Page 300 and 301: ED ( l ) ED {1) the RE. The REs all
- Page 302 and 303: ED (l) ED (1) . 6. FILES below. A R
- Page 304 and 305: ED ( 1 ) ED ( 1) command list is eq
- Page 306 and 307: ED (1) ED (l) replaced by the repla
- Page 308 and 309: ED (l) ED (1) FILES /tmp/e# tempora
- Page 311: ENV ( 1) ENV(l) NAME env - set envi
- Page 314 and 315: EQN(l) EQN( 1) [ • '+ � ] � l
- Page 316 and 317: � I )
- Page 318 and 319: EX (l) BUGS EX (l) The undo command
- Page 320 and 321: EXPR(l) EXPR ( l ) 3. 4. returns th
- Page 323 and 324: FC(l) ( AT&T UNIX PC only ) FC ( l
- Page 325: FILE ( 1 ) FIT..E ( 1 ) NAME file -
- Page 329 and 330: GET(l) GET(l) NAME get - get a vers
- Page 331 and 332: GET(l) -n GET(l) line in the sees f
- Page 333 and 334: GET ( 1) GET(I) IDENTIFICATION KEYW
- Page 335: GET(l) GET(l) same protection restr
- Page 338 and 339: fj· - · ,ry
- Page 341 and 342: GREP ( 1) GREP (1) NAME grep, egrep
- Page 343 and 344: HEAD ( l ) HEAD ( l ) NAME head - g
- Page 345 and 346: HELP ( l ) HELP ( l ) NAME help - a
- Page 347 and 348: HP ( 1 ) HP ( 1) NAME hp - handle s
- Page 349: HYPHEN ( I) HYPHEN(!) NAME hyphen -
- Page 353: IPCRM ( 1) IPCRM ( l ) NAME ipcrm -
- Page 356 and 357: IPCS ( 1) IPCS ( 1) The column head
- Page 358 and 359: IPCS ( 1) IPCS ( 1 ) BUGS Things ca
- Page 360 and 361: I� �--- �� '·, }
- Page 363 and 364: KSH ( 1 ) KSH ( l ) NAME ksh - Korn
- Page 365 and 366: KSH ( 1) KSH(l) { list ; } List is
- Page 367 and 368: KSH ( 1 ) KSH(l) The value of a nam
- Page 369 and 370: KSH ( 1 ) KSH(l) emacs, gmacs, or v
- Page 371 and 372: KSH ( 1 ) KSH(l) immediately follow
- Page 373 and 374: KSH ( 1 ) KSH(l) had been) and then
- Page 375 and 376: KSH ( 1) KSH(l) The shell maintains
FIND ( 1 ) FIND (1)<br />
NAME<br />
find - find files<br />
SYNOPSIS<br />
find path-name-list expression<br />
DESCRIPTION<br />
Find recursively descends the directory hierarchy for each path<br />
name in the path-name-list (i.e., one or more path names) seeking<br />
files that match a boolean expression written in the primaries<br />
given below. In the descriptions, the argument n is used as a<br />
decimal integer where +n means more than n, -n means less<br />
than n and n means exactly n.<br />
-name file True if file matches the current file name. Normal<br />
shell argument syntax may be used if<br />
escaped (watch out for [, ? and *).<br />
-perm onum True if the file permission flags exactly match<br />
the octal number onum (see chmod(l)). If<br />
onum is prefixed by a minus sign, more flag bits<br />
(017777, see stat(2)) become significant and the<br />
flags are compared:<br />
( flags&onum )==onum<br />
-type c True if the type of the file is c, where c is b, c,<br />
d, p, or r for block special file, character special<br />
file, directory, fifo ( a.k.a named pipe), or plain<br />
file.<br />
-links n True if the file has n links.<br />
-user uname True if the file belongs to the user una me. If<br />
uname is numeric and does not appear as a<br />
login name in the /etc/passwd file, it is taken<br />
as a user ID.<br />
-group gname True if the file belongs to the group gname . If<br />
gname is numeric and does not appear in the<br />
/etc/group file, it is taken as a group ID.<br />
-size n True if the file is n blocks long (512 bytes per<br />
block).<br />
-atime n True if the file has been accessed in n days.<br />
-mtime n True if the file has been modified in n days.<br />
-ctime n True if the file has been changed in n days.<br />
-exec cmd True if the executed cmd returns a zero value<br />
as exit status. The end of cmd must be punctuated<br />
by an escaped semicolon. A command<br />
argument {} is replaced by the current path<br />
name.<br />
-ok cmd Like -exec except that the generated command<br />
line is printed with a question mark first, and is<br />
executed only if the user responds by typing y.<br />
- 1 -