[wplug] PATH problem with Bash
Mackenzie Morgan
macoafi at gmail.com
Tue Mar 18 23:43:54 EST 2008
Er...you know it's not instant, right? It'll affect newly opened terminals
only. To make it rescan the .bashrc, type "source ~/.bashrc"
On Wed, Mar 19, 2008 at 12:41 AM, Zach <netrek at gmail.com> wrote:
> On Wed, Mar 19, 2008 at 12:19 AM, Mackenzie Morgan <macoafi at gmail.com>
> wrote:
> > I think you have to actually use ${HOME} not ~
>
> Ok I changed my .bashrc but I still do not see $HOME/bin show up in my
> $PATH. Here is what I have now:
>
> # set PATH so it includes user's private bin if it exists
> if [ -d ${HOME}/bin ] ; then
> PATH=${HOME}/bin:"${PATH}"
> fi
>
>
> PATH=/usr/local/java2/bin:/usr/local/bin:/usr/local/contrib/bin:/afs/club.cc.cmu.edu/usr/chaos/bin:"${PATH}"
>
> And here is the PATH:
>
> chaos at tellurium:~$ echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
>
> Seems like it is just using some system defaults and not even adding
> in anything from the PATH I have defined.
>
> Zach
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
>
--
Mackenzie Morgan
Linux User #432169
ACM Member #3445683
http://ubuntulinuxtipstricks.blogspot.com <-my blog of Ubuntu stuff
apt-get moo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.wplug.org/pipermail/wplug/attachments/20080319/3fd49444/attachment.html
More information about the wplug
mailing list