Chomped! Mac OS

Mac

Borderlands on a Mac Pro I am going to make a new thread with this post I bought Borderlands on Steam on Tuesday night, but didn't get it actually running until Thursday afternoon. My set-up: Mac Pro running the latest version of Snow Leopard, Twin 2.8 Intel Xeons, 6 gigs of RAM, ATI Radeon 2600, Libra, enjoy long walks on the beach. Chmod changes the permissions of each given fileaccording to mode, which can be either an octal number representing the bit pattern for the new permissions or a symbolic representation of changes to make, (+-= rwxXstugoa).

khock19 wrote:
and I get no errors. But then when I type todo.sh it returns
-bash: todo.sh: command not found

You don't have problem with chmod. The problem is that the directory containing that file isn't in your 'path'. You can see this by typing the command 'echo $PATH' (without the quotes). There are three ways to deal with this: (1) Invoke that command this way: ./todo.sh . (That's what the 'Quick Start Guide' for that script tells you to do in step 5.) That tells bash to look for that command in the current directory. (2) Presuming you're positioned in the directory where that script file is, add that directory to the path using this command: export PATH=`pwd`:$PATH . You'll have to invoke that command every time you launch a new Terminal session unless you update your bash profile to include a command to set the PATH automatically. (3) Put the file todo.sh in one of the directories that's already in the PATH, such as /usr/local/bin.

Chomped Mac Os Update

Dec 23, 2010 11:27 AM