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

王菊花 luckygrass100 at hotmail.com
Thu Jan 21 10:39:16 GMT 2010


Today I tried to add  
export PATH=$PATH/usr/local/bin:/opt/esru/esp-r/bin:/home/fred/bin:$PATH  at the end of file profile,and it succeeded to start esp-r from terminal.Here,I would like to thank all people in esp-r users' club who have gave me answers for solving problems,especially,Jon Hand.It's so kind of you!We don't know each other,but you really help me a lot!

 

 

 

 

 

 

 


From: luckygrass100 at hotmail.com
To: esp-r at lists.strath.ac.uk
Subject: Problems of updating the .profile file
Date: Wed, 20 Jan 2010 13:45:29 +0000



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!




使用Messenger保护盾2.0,支持多账号登录! 现在就下载! 		 	   		  
_________________________________________________________________
SkyDrive电子画册,带你领略精彩照片,分享“美”时“美”刻!
http://www.windowslive.cn/campaigns/e-magazine/ngmchina/?a=c
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20100121/f1470416/attachment.html 


More information about the esp-r mailing list