rhel4中装IC610环境变量设置后遇到问题
时间:03-14
整理:3721RD
点击:
错误显示为:
bash: ./etc/bashrc: No such file or directory
bash-3.00$ su
但查看etc下有bashrc文件的啊,很郁闷,报警信息如下:
E325: ATTENTION
Found a swap file by the name ".bashrc.swp"
owned by: rootdated: Mon Aug 20 06:13:00 2012
file name: /home/xu/.bashrc
modified: YES
user name: roothost name: localhost.localdomAIn
process ID: 5764
While opening file ".bashrc"
dated: Tue Aug 21 01:38:03 2012
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r .bashrc"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".bashrc.swp"
to avoid this message.
".bashrc" 19L, 611C
求助啊
bash: ./etc/bashrc: No such file or directory
bash-3.00$ su
但查看etc下有bashrc文件的啊,很郁闷,报警信息如下:
E325: ATTENTION
Found a swap file by the name ".bashrc.swp"
owned by: rootdated: Mon Aug 20 06:13:00 2012
file name: /home/xu/.bashrc
modified: YES
user name: roothost name: localhost.localdomAIn
process ID: 5764
While opening file ".bashrc"
dated: Tue Aug 21 01:38:03 2012
NEWER than swap file!
(1) Another program may be editing the same file.
If this is the case, be careful not to end up with two
different instances of the same file when making changes.
Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r .bashrc"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".bashrc.swp"
to avoid this message.
".bashrc" 19L, 611C
求助啊
bashrc编写如下:
# .bashrc
# User specific aliases and functions
alias lmli='/home/eda/ic610/tools/bin/lmgrd -c /home/eda/ic610/share/license/license.dat'
export OA_HOME=/home/eda/ic610/OA
export CDS_ROOT=/home/eda/ic610
export MMSIM_ROOT=/home/eda/mmsim61
export CDS_LIC_FILE=5280@localhost
export LM_LICENSE_FILE=$CDS_ROOT/share/license/license.dat
export CDS_Netlisting_Mode=Analog
export PATH=$MMSIM_ROOT/tools/binMMSIM_ROOT/tools/spectre/binCDS_ROOT/tools/binCDS_ROOT/tools/dfII/bin:$PATH
export MOZILLA_HOME=/usr/bin/netscape
# Source global definitions
if [ -f /etc/bashrc ]; then
./etc/bashrc
fi