[lug] Puzzle with find
David L. Anselmi
anselmi at anselmi.us
Mon Jul 11 17:05:45 MDT 2005
Hugh Brown wrote:
> On Thu, 2005-07-07 at 16:37 -0400, Gordon Golding wrote:
[...]
>>[root at rl6-182-196-dhcp /]# cd -
>>/root
>>[root at rl6-182-196-dhcp ~]# /usr/bin/find / -name *install*
>>/usr/bin/find: paths must precede expression
>>Usage: /usr/bin/find [path...] [expression]
>
> I'd bet that you have an install.log file in /root so the shell glob is
> doing you in. As noted before quoting the expression should fix it.
Actually, there must be more than one file that matches *install* because:
/usr/bin/find / -name install.log
(after glob expansion) is perfectly valid.
Dave
More information about the LUG
mailing list