* Nick Jones
Can someone please help me with a problem setting my PATH variable? (note cuda/bin in the first PATH environment variable)
/etc> printenv | grep -w "PATH=" PATH=/usr/local/cuda/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin
/etc> echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin
So what is the "real" path. Why is it that when I run setenv the PATH var is not updated?
mine agree don't know where you got "setenv" for openSUSE/linux. I seem to recall a unix cmd. Have you possibly ran a program in this environment that might have changed the path?
/etc> setenv PATH "${PATH}:/what/the/eff" /etc> echo $PATH /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/usr/lib64/jvm/jre/bin:/usr/lib/mit/bin
This used to always work. There's nothing else getting sourced or happening in between my commands that would explain it either.
16:35 wahoo:~ > PATH=$PATH:no-path 16:35 wahoo:~ > echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/lib/hxtools/bin:/usr/X11R6/bin:/opt/gnome/bin:/opt/kde3/bin:/home/pat/bin:no-path 16:35 wahoo:~ > setenv If 'setenv' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf setenv 16:36 wahoo:~ > cnf setenv setenv: command not found -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org