On Wed, Nov 03, 1999 at 11:20:16PM -0600, Mike Friedrichs wrote:
> I have a executable file called jstar in /usr/bin, but when I enter 'find
> / -iname j*' I receive the message 'not found'.
> 
> Is there any obvious reasons why this command doesn't function as
> prescribed. This is on Redhat 5.2.

The command as you've shown it to us is processed thusly:

        -The shell expands the wildcard,
        -then passes the result to the find program.

This isn't what you wanted. What you want is for find to see the literal
'*j'. There are several ways to do this, the one I commonly use is:

        find / -iname j\* -print

The '\' tells the shell to pass following character literally to 
the program, to not do anything else with it.

Fred
-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
------------------------------ Matthew 7:21 (niv) -----------------------------


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to