PATH variable in the bash shell

November 3rd, 2003 by admin

Okay, so you decided to stick with the bash shell. Here’s how to change your path. Edit the .bashrc file in your home directory (or create one) and then add a line like this:

   PATH=/usr/local/bin:~/bin:$PATH

My friend and bash fan Colby gave me this tidbit. Something all bash users probably know. (bash is a very linux thing, by the way.)

Tags: , , , — .

Please remember this is the archive of Macsingularity. Comments are no longer supported, and this content and site are no longer updated.



Bad Behavior has blocked 58 access attempts in the last 7 days.