Not sure what version (or shell) of find you are using, but I have always had to add a path before pattern:
find . -iname "*prib*"
Would recurse from current directory. (".")
If you used:
find /etc -iname "*prib*"
it would recurse the /etc directory.
The following would limit 'find' to 2 directory levels from search path ( . )
find . -maxdepth 2 -iname "*prib*"
Man Page:
-iname pattern
Like -name, but the match is case
insensitive. For example, the patterns
fo*' andF??' match the file
names Foo',FOO', foo',fOo', etc.
In these patterns, unlike filename
expansion by the shell, an initial
'.' can be matched by '*'. That is,
find -name *bar will match the file
`.foobar'. Please note that you should
quote patterns as a matter of course,
otherwise the shell will expand any
wildcard characters in them.