Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

my terminal asked me for my password and now says bash-3.2

I was screwing around with my macBook Pro in terminal and all of a suddent it said type in the pass word. I did so and now it says bash-3.2# does that mean that everything is alright? or is it like a warning

MacBook Pro, Mac OS X (10.6.8), 12 Months old. Never damaged

Posted on Jun 20, 2012 9:39 AM

Reply
Question marked as Best reply

Posted on Jun 20, 2012 9:59 AM

You either typed ->

sudo bash

#or

sudo -s

Type: exit and the prompt will change to the $ sign. You managed to produce a "root " shell. That's not a good idea if you don't know what you are doing.

4 replies

Jun 20, 2012 6:29 PM in response to Not_So_Pro

A book on Bash would be helpful.




Practical Guide to Linux Commands, Editors, and Shell Programming, A (2nd Edition) [Paperback] the book Don't be fooled by the name, the second addition includes Mac OS X.

Advanced Bash Script. premise: Examples for everything. I have revision 6.2.
tldp.org/LDP/abs/abs-guide.pdf


BASH Programming - Introduction HOW-TO
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html#toc14


Check you local library. Any book on Bash syntax will do. There will be minor differences but they will not be great.


Sometimes you can get a good deal on used books in Amazon.


Bash Cookbook, Carol Albing, JP Vossen & Cameron Newham (O'Reilly)






I know it's old, but I haven't seen an update. Look.


Mac OS X Tiger in a Nutshell: A Desktop Quick Reference (In a Nutshell (O'Reilly)) http://www.amazon.com/Mac-OS-Tiger-Nutshell-Reference/dp/0596009437/ref=sr_1_4?s =books&ie=UTF8&qid=1285174595&sr=1-4the book


*A Practical Guide to UNIX(R) for Mac OS(R) X Users* (Paperback) the bookThis is for Tiger & written in 2005.
Learning the bash Shell, Cameron Newham (O'Reilly)


Bash Cookbook, Carol Albing, JP Vossen & Cameron Newham (O'Reilly)


for Bash syntax see Advanced Bash Script. I have revision 6.2.
tldp.org/LDP/abs/abs-guide.pdf


BASH Programming - Introduction HOW-TO
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html#toc14


Sometimes you can get a good deal on used book in Amazon. Third edition.
http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&field-keywords=013 1367366&x=0&y=00


I found the second addition of this at my local library. Any book on Bash syntax will do. There will be minor differences but they will not be great.

my terminal asked me for my password and now says bash-3.2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.