Terminal Not Working

Discussion in 'Mac Basics and Help' started by ceezy3000, Sep 18, 2009.

  1. ceezy3000 macrumors 6502

    ceezy3000

    Joined:
    Jan 10, 2009
    Location:
    The Valley!!
    #1
    for some odd reason terminal isn't working. It's not accepting any of my commands or even recognizing them as such. And it just opens up to a blank terminal window. Correct me if i'm wrong but isn't it supposed to open usr/bin/login?
     

    Attached Files:

  2. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #2
    It sounds like the .bash_rc or .profile files got screwy, which would cause this type of issue. You may have installed an app that messed with these or other files. You can check if these files are present by entering,
    Code:
    /bin/ls -a
    If they're there you can back them up (in case they contain something you need),
    Code:
    /bin/mv .bash_rc bash_rc
    /bin/mv .profile profile
    Then restart Terminal and see if it starts normally. If it does you'll know one of those files contains some bad syntax.
     
  3. ceezy3000 thread starter macrumors 6502

    ceezy3000

    Joined:
    Jan 10, 2009
    Location:
    The Valley!!
    #3
    I haven't installed anything new in 4 days or so and terminal was working fine yesterday. i entered the first code and got no response =[. It won't even recognize commands!
     
  4. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #4
    You can turn on hidden files for Finder. Here's an AppleScript that will turn them on for you. Hopefully that'll work since it uses a shell command. Once that's done you can track down those files from Finder.

    You can also try trashing the Terminal preference file.
    ~/Library/Preferences/com.apple.Terminal.plist
     
  5. miles01110 macrumors Core

    miles01110

    Joined:
    Jul 24, 2006
    Location:
    The Ivory Tower (I'm not coming down)
  6. aesir911 macrumors member

    Joined:
    Aug 11, 2010
    #6
    I am having the same problems, did you ever figure it out? does anyone know how to solve this issue?
     
  7. Jolly Jimmy macrumors 65816

    Jolly Jimmy

    Joined:
    Dec 13, 2007
    #7
    When I get this problem rebooting usually sorts it out.
     
  8. dyn macrumors 68030

    Joined:
    Aug 8, 2009
    Location:
    .nl
    #8
    Have you tried any of the solutions? What did they do for you?
     
  9. MacHelper1 macrumors newbie

    Joined:
    Jan 3, 2014
    #9
    I was getting the same problem and I did not know how to fix it. But then I decided to restart my mac. Trying doing so, it worked for me. It may or may not work for you though. Try it! :D
     

Share This Page