Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 Jan 7 '13 at 11:24

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

You are missing a closing quote at the end of the first pattern. – Hristo Iliev Jan 7 '13 at 7:10
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
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .