Almost no commands are working in terminal

Discussion in 'Mac Programming' started by signor.dictator, Jun 14, 2012.

  1. macrumors newbie

    Joined:
    Jun 14, 2012
    #1
    Virtually no commands in terminal are working. For example, wget, shell, etc..none of them work. Do I need to install or change a path or something? Could someone tell me what I need to do step by step and exactly what I need to time in terminal in order to finally get commands to work? I'm trying to do this all on my local machine.
     
  2. macrumors 6502a

    GorillaPaws

    Joined:
    Oct 26, 2003
    Location:
    Richmond, VA
    #2
    What commands ARE working? This info may help narrow down the problem.
     
  3. chown33, Jun 14, 2012
    Last edited: Jun 14, 2012

    macrumors 603

    Joined:
    Aug 9, 2009
    #3
    Post the output of this command:
    Code:
    echo "$PATH"
    
    FWIW, wget is not installed by default on any Mac OS X versions.

    And I know of no command named "shell", though I know of multiple shells.

    If you're saying the problem is that you can't open a shell in a Terminal window, then it's quite possibly a botched shell profile file. To find out, you'll need to tell us what shell you're using (is it the default bash or something else?).

    You could also create a new user account in System Preferences (the Account pane before Lion, the User and Groups pane in Lion) and try Terminal there. If that works, post again and we can give commands to help discover and/or change the shell profile in the malfunctioning account.

    And please identify what OS version you're using.
     
  4. macrumors 6502a

    Joined:
    Mar 17, 2012
    Location:
    Belgium
    #4
    Which commands aren't working? Wget is not a standard OS X command. You can install it with MacPorts or compile it from source. Couldn't find shell either.
     

    Attached Files:

  5. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #5
    I'd highly recommend using Homebrew instead of MacPorts. It is extremely active and has numerous packages available with more coming along daily.

    https://github.com/mxcl/homebrew
     

Share This Page