Command line isn't properly running programs

After trying to run a program on terminal it doesn't execute properly and just makes a new line with > at the start

How can I fix this

closed as unclear what you're asking by nohillside Jul 22 '16 at 8:58

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Press Control-C to return to the prompt, then look at Edward Falk's answer. – user3439894 Jul 22 '16 at 0:06
  • 3
    It's helpful if you provide the command you are trying to execute. See How to Ask a Good Question for more details – Allan Jul 22 '16 at 0:15

It sounds like you have a single " or ' somewhere in your command line arguments. Maybe something like this:

echo It's a nice day

The command line is waiting for the matching " or '. That's what the > means.

You can fix this by quoting the entire argument with the other kind of quote:

echo "It's a nice day"

Or escaping the offending character with \

echo It\'s a nice day

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