E-Mail:

Setting the command shell prompt in Mac OS X Terminal

I’m new to Mac, last Apple I owned was a IIe in the 80’s. This question is related to your book Learning Unix for Mac OS X Tiger book, page 41 “Changing the Command Prompt. In this section you give the following command for changing the prompt:

      PS1= “? “

I typed this, but got the following response from the terminal window:

      -bash: ? : command not found

What am I doing wrong?

I can see exactly what the shell is complaining about, and I’ll end any suspense by saying that you need to ensure that you never have superfluous spaces in the commands you type into Terminal or anywhere on a Unix command line. There’s a world of different to the Bash shell between…

What Do You Think?

 

Want to Start a Blog Here for Free?

Are you an expert in one subject or another? If your goal is to help others and dispense hard-earned information back to the community, stake a claim on your very own Lockergnome blog today! You can write about anything - no matter the topic. Sign-up to start blogging!

Resource - Jul 7, 2008

75% Off Mac Life Cover Price

Apple, Feedback - Apr 7, 2008

Mac Development

Apple, Resource - Apr 3, 2008

Macworld Free Trial

64 queries / 0.348 seconds.