Author Topic: Installing CDP7 messed up the OS X Terminal - help  (Read 1931 times)

oivindi

  • Newbie
  • *
  • Posts: 4
    • View Profile
Installing CDP7 messed up the OS X Terminal - help
« on: February 25, 2014, 11:04:29 AM »
So, after installing CDP7 almost none of the OS X Terminal commands no longer works - including sudo, ls etc.

All I get is this message: "-bash: sudo: command not found"

When I type "echo $PATH" it returns "/Users/oivindidso/cdpr7/_cdp/_cdprogs:", so I am guessing something went wrong during the CDP7 installation.

How can I get my Terminal commands back? Please be as non-technical as you can, I don't exactly speak advanced terminal-ese ...


oivindi

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Installing CDP7 messed up the OS X Terminal - help
« Reply #1 on: February 25, 2014, 11:34:11 AM »
OK, managed to fix it ... :)

Opened ".bash profile" in Textwrangler, and added "export PATH" (which for some reason was missing) to the end of the script - now my commands are back. Puh.