what you did only applies to tcsh
I think you are using bash (Bourne Again SHell) not csh
to know what shell you are using type the command :
echo $SHELL
it should give you : [/bin/bash] OR [/bin/tcsh] or anything else
if you are using bash do the following :
type the command (as root) :
cat >> /etc/profile
then write these two lines :
export PVM_ROOT="/usr/local/pvm3"
export PVM_ARCH="$PVM-ROOT/lib/pvmgetarch"
then press ENTER
then press Ctrl-D
after that type the command :
/etc/profile
and it should work for all users (root , ...etc)
also if the only one who will use it is root (or anyone else) login as him and type the command
cat >> ~/.bashrc
then write these two lines :
export PVM_ROOT="/usr/local/pvm3"
export PVM_ARCH="$PVM_ROOT/lib/pvmgetarch"
then press ENTER
then press Ctrl-D
after that type the commands :
cd
./.bashrc
and it should work
to be sure that it works type :
echo $PVM_ROOT
and it should give you : [/usr/local/pvm3/lib/pvmgetarch]
that's all
التعديل الأخير تم بواسطة Mohammed_Yousif ; 05-10-2001 الساعة 08:33 AM
Mohammed Yousif
Egypt
We'll restore OUR Jerusalim