finding things in unix
Mike Schwartz
mschw at athenet.net
Fri Apr 23 13:53:16 PDT 2010
>
> try this
> cd /
> find ./ -name filename* -print | more
> this will search all directories and list on the screen
> Don
All of these "find" options will certainly work, but can waste a lot of
time and system resources. Many times I've wasted several minutes and a lot
of computing horsepower searching older servers or huge file systems with a
"find" command, when the "type" command would have found what I needed in
just a second or two.
"find" gets especially nasty if you don't have root access to a system.
(I don't have "root" access to several of the Unix servers that I do filePro
work on...) Unless you add certain parameters, "find" will generate lot of
"you don't have permission to search this folder" errors.
Anybody doing much Unix work should understand both the find and type
commands.
Mike Schwartz
More information about the Filepro-list
mailing list