Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

shardbearer

macrumors newbie
Original poster
Mar 15, 2011
2
0
When I open terminal, it opens a blank screen, and when i type in a command, nothing happens. Using 10.5.8. Also happens on both versions of iTerm. Happened after experimenting with shell scripts and applescript.
 
When I open terminal, it opens a blank screen, and when i type in a command, nothing happens. Using 10.5.8. Also happens on both versions of iTerm. Happened after experimenting with shell scripts and applescript.

Do you have a back up?

What scripts did you run?

Did you run disc utility?

No prompt or anything on the screen?

Cheers
 
I suspect you munged up one of the resource scripts...There's a script that runs when you open terminal. Unfortunately I've been retired too long to remember exactly what it's called on OSx. On a unix system it's like bash.rc or some such. when you open terminal or similar you are basically opening a *nix shell.
 
I suspect you munged up one of the resource scripts...There's a script that runs when you open terminal. Unfortunately I've been retired too long to remember exactly what it's called on OSx. On a unix system it's like bash.rc or some such. when you open terminal or similar you are basically opening a *nix shell.

Ah, perfect thanks, I totally forgot about this.


@shardbearer
Be careful doing this!
You can wreck your user quick so do at your own risk.

That being said lets see if we can fix the issue:
Go to system preferences:accounts and unlock the accounts pane.

Right click on your user and select advanced options: Where you see the default shell make sure bash is selected. If it is change your default shell to a different one and reboot. If the terminal works then your bash shell is bad. If not then you have bigger issues.

Cheers
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.