18 May
2004
18 May
'04
00:35
Robert Paulsen wrote:
On Monday 17 May 2004 03:43, Jerome Lyles wrote:
Password: # find / -name *.rpm find: paths must precede expression Usage: find [path...] [expression] #
What happened? Isn't '/' enough path for this command? Thanks, Jerome
You need to put quotes around the expression you are looking for if it contains special characters that the shell will act on (in your case the *). Try this...
find / -name "*.rpm"
You want the find command to see the *, not the shell.
It works fine for me without the quotes. However, this is on Red Hat 7.3.