[esp-r] Problems of updating the .profile file

王菊花 luckygrass100 at hotmail.com
Wed Jan 20 12:22:27 GMT 2010


Dear all,
According to instructions_for_linux_installer.txt,If you are running the bash shell then you would look for an entry in the .profile file something like:
export PATH=/usr/local/bin:/usr/esru/bin:/usr/esru/esp-r/bin:/home/fred/bin:$PATH
 
But I don't know how to edit it.File /etc/profile is as follows:
 
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ -d /etc/profile.d ]; then
  for i in /etc/profile.d/*.sh; do
    if [ -r $i ]; then
      . $i
    fi
  done
  unset i
fi
if [ "$PS1" ]; then
  if [ "$BASH" ]; then
    PS1='\u@\h:\w\$ '
    if [ -f /etc/bash.bashrc ]; then
 . /etc/bash.bashrc
    fi
  else
    if [ "`id -u`" -eq 0 ]; then
      PS1='# '
    else
      PS1='$ '
    fi
  fi
fi
umask 022
 
I try to add  
export PATH=/usr/local/bin:/usr/esru/bin:/usr/esru/esp-r/bin:/home/fred/bin:$PATH  at the end of file profile.But it didn't work after I restarted Ubuntu.Look forward to your answers.Grateful thanks!

 		 	   		  
_________________________________________________________________
MSN十周年庆典,查看MSN注册时间,赢取神秘大奖
http://10.msn.com.cn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20100120/c52db091/attachment.html 


More information about the esp-r mailing list