I can't change PATH variable for my (primary user) login. I though ~/.profile
was the correct place to set and export it.
I have these in relevant files:
#cat /etc/profile
...
...
export LOGNAME PATH
...
...
#cat ~/.profile
...
...
export
PATH=${HOME}:/usr/gnu/bin:/usr/bin:/usr/X11/bin:/usr/sbin:/sbin:/usr/local/bin
...
...
But yet PATH is not as expected:
#echo $PATH
.::/usr/gnu/bin:/usr/X11/bin:/bin:/usr/bin:/sbin:/usr/sbin
I'm using bash and I logout/in between any changes/attempts.
--
This message posted from opensolaris.org