PDA

View Full Version : Change path in panther?




MacBoyX
Oct 31, 2003, 11:02 AM
Does anyone know how to change the path in the Panther terminal now that it uses the BASH shell.

I don't know where to edit the file or what to add to it. I knew this for Jaguar but I forgot it at some point!

thanks...

macboyX



JackRipper
Oct 31, 2003, 11:24 AM
It should work like all *nix systems...


export PATH=(complete path)

echo $PATH to show the current path.

I think this is temporary, though. In linux there is a file in the users home directory called .bash_profile which is basically a shell script that runs when the user logs in.

If Panther has this file as well you should be able to just add the "export PATH=........" line to that file using a text editor.

Hope this helps!

TEG
Oct 31, 2003, 11:41 AM
you can also look for a .profle file in your home directory. Also, if you are more familar with other shells, you can change the default in Terminal -> Preferences. I'm still upset they don't ship full korn shell (ksh) but I can deal.

TEG