
| ®nd(1) | ®nd(1) | 
If any internationalization variable contains an invalid setting, all internationalization variables default to
C(see environ(5)).
LC_CTYPE determines the interpretation of text as single and/or multibyte characters, the classi®cation of characters as printable, and the characters matched by character class expressions in regular expressions.
LC_MESSAGES determines the locale that should be used to affect the format and contents of diagnostic messages written to standard error and informative messages written to standard output.
NLSPATH determines the location of message catalogues for the processing of LC_MESSAGES .
International Code Set Support
Single- and multibyte character code sets are supported.
EXAMPLES
Search the two directories /example and /new/example for ®les containing the string Where are you and print the names of the ®les:
find /example /new/example 
Remove all ®les named a.out or *.o that have not been accessed for a week:
find / \( 
Note that the spaces delimiting the escaped parentheses are required.
Print the names of all ®les on this machine. Avoid walking nfs directories while still printing the nfs mount points:
find / 
Match only local ®les, and do not examine the contents of any directory found to be remotely mounted:
find / ! 
This only works correctly if there are no local ®le systems mounted on top of remote directories. This example will print all local ®les on the system larger than 50 blocks, without wasting time accessing remote ®les.
To get the same effect, but to check for ®les in local ®le systems mounted on remote directories, use:
find / 
Copy the entire ®le system to a disk mounted on /Disk, avoiding the recursive copy problem. Both commands are equivalent (note the use of 
cd /; find . ! 
Copy the root disk to a disk mounted on /Disk, skipping all mounted ®le systems below /. Note that - xdev does not cause / to be skipped, even though it is a mount point. This is because / is the starting point and 
cd /; find . 
Change permissions on all regular ®les in a directory subtree to mode 444, and permissions on all directories to 555:
find pathname 
Note that output from find was piped to xargs(1) instead of using the 
Access Control List Examples
Find all ®les not owned by user karl that have access control lists with at least one entry associated with karl, and one entry for no speci®c user in group bin with the read bit on and the write bit off:
find / ! 
f
| − 5 − | Section 1−275 |