| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Feb 08, 2009
Posts: 8
![]() |
I'm not getting a command prompt in the Terminal app (Applications/Utilities). When I launch Terminal all I get is one line...
Last login: Sun Feb 8 08:22:27 on ttys003. Right below that line is a solid cursor. When I press ENTER the only thing that happens is that the cursor skips to the next line. How do I get my command prompt back? The last thing I did on Terminal was execute the following lines... cd /private/etc sudo cp php.ini.default php.ini Please help. Thanks |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
it sounds like somehow your account doesn't have a valid shell. If you do a Shell -> new command -> dscl . -read /Users/<username> shell
what does it say? btw it should come back with something like... mikeMbp:etc mike$ dscl . -read /Users/mike shell dsAttrTypeNative:shell: /bin/bash mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
Wow, so it just gives you a usage statement. Hmm.. Do you have any other users on the system?
mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Feb 08, 2009
Posts: 8
![]() |
Yes, in addition to the Admin account that I'm using, I have a Guest and Standard as well. All accounts have the same problem. I've even created a 2nd Admin account only to find the same problem there. The 2nd Admin account has been deleted.
Terminal has worked with my Admin, Guest and Standard account. I first notice the problem when I activated PHP on Apache. |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
Ok, so it does return /bin/bash... you have a defined shell, great!
what does an ls -l /bin/bash show? mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
well, looks like that's all there. I can not think of any reason that changing the php.ini would prevent you from logging in and gaining a shell. You could try removing the php.ini
mv /private/etc/php.ini /private/etc/php.foo mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
![]() Member Since: Mar 17, 2008
Location: Tucson, AZ
Posts: 6,588
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2008 and 2011 15" mbps, late 11 iMac, iPhone 4s, and too many ipods and other stuff
|
mike This machine kills fascists Got # ? phear the command line! |
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| C++ in terminal | frike | OS X - Development and Darwin | 2 | 04-04-2008 10:52 AM |
| Terminal problems please help | CliveO | OS X - Operating System | 6 | 03-20-2007 10:04 AM |
| Terminal Problem | WROC | OS X - Apps and Games | 5 | 01-09-2007 04:01 PM |
| iChat and Missing Sync | BushyMark | Switcher Hangout | 0 | 09-02-2006 06:05 PM |
| Terminal Help | rs2sensen | OS X - Apps and Games | 1 | 04-25-2005 10:52 PM |
All times are GMT -4. The time now is 06:52 PM.
Powered by vBulletin