Terminal Broken in Leopard

Discussion in 'macOS' started by shardbearer, Mar 15, 2011.

  1. shardbearer macrumors newbie

    Joined:
    Mar 15, 2011
    #1
    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.
     
  2. MacForScience macrumors 6502

    MacForScience

    Joined:
    Sep 7, 2010
    Location:
    USA
    #2
    Do you have a back up?

    What scripts did you run?

    Did you run disc utility?

    No prompt or anything on the screen?

    Cheers
     
  3. old-wiz macrumors G3

    Joined:
    Mar 26, 2008
    Location:
    West Suburban Boston Ma
    #3
    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.
     
  4. MacForScience macrumors 6502

    MacForScience

    Joined:
    Sep 7, 2010
    Location:
    USA
    #4
    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
     

Share This Page