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

I found that in my cygwin,

The PS1 console have 2 lines and I want to solve it. This is due to "\n" at the end of PS1 But I cannot export it well due to "not a valid identifier" error.

How can I solve this? Many thanks.

enter image description here

share|improve this question
up vote 2 down vote accepted

When you say export, you don't use the dollar sign.

So it's export PS1=Hello World, not export $PS1=Hello World.

share|improve this answer
    
Thx...it's just my poor linux knowledge – Kit Ho Jan 18 '12 at 9:11

You must log in to answer this question.

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