Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacBoyX

macrumors 6502
Original poster
Jan 3, 2003
406
0
East Coast, USA
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
 
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!
 
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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.