Almost no commands are working in terminal

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

  1. signor.dictator macrumors newbie

    Jun 14, 2012
    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. GorillaPaws macrumors 6502a


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

    chown33 macrumors 604

    Aug 9, 2009
    on the Western Slopes, with E. A. Poe
    Post the output of this command:
    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. kryten2 macrumors 6502a

    Mar 17, 2012
    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. Cromulent macrumors 603


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

Share This Page