[lug] Puzzle with find

D. Stimits stimits at comcast.net
Thu Jul 7 15:06:05 MDT 2005


...

>[root at rl6-182-196-dhcp ~]# /usr/bin/find / -name *install*
>/usr/bin/find: paths must precede expression
>Usage: /usr/bin/find [path...] [expression]
>  
>
...

Try quoting *install*. I'm guessing that what you are seeing is some 
sort of shell expansion/substitution which is feeding something other 
than the "*" to find. E.G.:
find / -name "*install*"

D. Stimits, stimits AT comcast DOT net



More information about the LUG mailing list