[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Find command explanation
From: |
AOB Technologies Ltd. |
Subject: |
Find command explanation |
Date: |
Sun, 02 Jul 2006 19:04:26 +0200 |
Hi,
When I type "find --help" at my RedHat Linux (model 2001 or so) I get all the
syntax of the command with so many parameters.
Nevertheless, it is very hard to understand the proper use for a desired kind
of result and some examples or further break-down explanation about the
parameters would help a lot.
For example, the option -mount or -mmin are not explained and thus I don't know
what would be their result.
In particular, I'm looking for files containing certain text string (probably
DOC files). Is there any specific format for this command to meet this
requirement?
Many thanks,
Sam.
# find --help
Usage: find [path...] [expression]
default path is the current directory; default expression is -print
expression may consist of:
operators (decreasing precedence; -and is implicit where no others are given):
( EXPR ) ! EXPR -not EXPR EXPR1 -a EXPR2 EXPR1 -and EXPR2
EXPR1 -o EXPR2 EXPR1 -or EXPR2 EXPR1 , EXPR2
options (always true): -daystart -depth -follow --help
-maxdepth LEVELS -mindepth LEVELS -mount -noleaf --version -xdev
tests (N can be +N or -N or N): -amin N -anewer FILE -atime N -cmin N
-cnewer FILE -ctime N -empty -false -fstype TYPE -gid N -group NAME
-ilname PATTERN -iname PATTERN -inum N -ipath PATTERN -iregex PATTERN
-links N -lname PATTERN -mmin N -mtime N -name PATTERN -newer FILE
-nouser -nogroup -path PATTERN -perm [+-]MODE -regex PATTERN
-size N[bckw] -true -type [bcdpfls] -uid N -used N -user NAME
-xtype [bcdpfls]
actions: -exec COMMAND ; -fprint FILE -fprint0 FILE -fprintf FILE FORMAT
-ok COMMAND ; -print -print0 -printf FORMAT -prune -ls
- Find command explanation,
AOB Technologies Ltd. <=