Try '\*', not '*' the '*' is probably being parsed by your shell, not find.
Victor Feng wrote: > There is a file UserPreferencesSettings.jsp in > /mail/products/uwc/uwc/common/, but 'find' can not find it except when the > search path is set as /mail/products/uwc/uwc/common/. > > user> ls /mail/products/uwc/uwc/common/User* > /mail/products/uwc/uwc/common/UserPreferencesPassword.jsp > /mail/products/uwc/uwc/common/UserPreferencesSettings.jsp > user> > user> find / -name UserPreferencesSettings* 2>/dev/null > /var/mail/products/uwc/staging/uwc/common/UserPreferencesSettings.jsp > /var/mail/products/uwc/uwc/common/UserPreferencesSettings.jsp > /mail/products/uwc/lib/config-templates/uwc/common/UserPreferencesSettings.jsp > user> > user> find /mail/products/uwc -name UserPreferencesSettings* 2>/dev/null > /mail/products/uwc/lib/config-templates/uwc/common/UserPreferencesSettings.jsp > user> > user> find /mail/products/uwc/uwc -name UserPreferencesSettings* 2>/dev/null > user> find /mail/products/uwc/uwc/common/ -name UserPreferencesSettings* > 2>/dev/null > /mail/products/uwc/uwc/common/UserPreferencesSettings.jsp > > Why? > > Thanks > Victor > > > This message posted from opensolaris.org > _______________________________________________ > opensolaris-discuss mailing list > opensolaris-discuss@opensolaris.org -- stephen lau // [EMAIL PROTECTED] | http://whacked.net opensolaris // solaris kernel development _______________________________________________ opensolaris-discuss mailing list opensolaris-discuss@opensolaris.org