Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When I do this:

[myuser@myserver ~]$ find . -type f -name "*Myfile* -name "*20130*"
> 

It enters ">" mode, and I can't exit it. How do I retun to shell prompt?

share|improve this question

migrated from stackoverflow.com Jan 7 '13 at 11:24

This question came from our site for professional and enthusiast programmers.

1  
You are missing a closing quote at the end of the first pattern. –  Hristo Iliev Jan 7 '13 at 7:10
1  
you forgot a " after "*Myfile* –  lbonn Jan 7 '13 at 7:11
    
Why did it get negative votes? –  alwbtc Jan 7 '13 at 7:27
add comment

1 Answer

up vote 3 down vote accepted

You have an unmatched "

find . -type f -name "*Myfile* -name "*20130*"
                     ^        ^

You should be able to Ctr-C your way out if it.

share|improve this answer
    
Thank you, it solved. –  alwbtc Jan 7 '13 at 7:26
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.