Operating System - HP-UX
1838334 Members
3112 Online
110125 Solutions
New Discussion

Re: 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.