Operating System - HP-UX
1752754 Members
4639 Online
108789 Solutions
New Discussion юеВ

find: missing conjunction

 
Saqib Javed
Frequent Advisor

find: missing conjunction

Hi,

Please let me know where is the problem. I need to find all files with TeMIP_AHFM_CHILD_

# find / -name TeMIP_AHFM_CHILD_*
find: missing conjunction

Thank You.
saqib
3 REPLIES 3

Re: find: missing conjunction

The shell is probably expanding that TeMIP_AHFM_CHILD_* before calling find... try:

# find / -name "TeMIP_AHFM_CHILD_*"

HTH

Duncan

I am an HPE Employee
Accept or Kudo
Jozef_Novak
Respected Contributor

Re: find: missing conjunction

Definitely the shell is expanding the asterisk. Always use quotes or escape characters when using characters with special meaning to the shell as command arguments.

J.
Saqib Javed
Frequent Advisor

Re: find: missing conjunction

Ooo Thank you so much.
issue solved.