- 论坛徽章:
- 0
|
在安装vcs的过程中再设置 Setting the PATH and MANPATH Variables。安装指导过程有相关PATH environment的配置信息。但是我对其配置文件不是了解。不知道该如何配置如何书写。
set the PATH variable
If you are using the Bourne Shell (sh or ksh), use:
$ PATH=/usr/sbin:/sbin:/opt/VRTS/bin:/opt/VRTSvcs/bin PATH;
export PATH
If you are using the C Shell (csh or tcsh), use:
% setenv PATH /usr/sbin:/sbin:/opt/VRTS/bin:/opt/VRTSvcs/bin PATH
我想了解在bash环境下该在那个文件下配置.具体格式是什么.
csh环境下的文件下配置.具体格式是什么
我曾尝试过一种方法● $PATH=/sbin:/user/sbin:/opt/VRTS/bin: $PATH;export PATH (将此路径加入/etc/profile)
系统重启之后发现此类系统报警:SunOS 5.9
login: root
Password:
Last login: Tue Oct 24 11:34:04 from vc1
Sun Microsystems Inc. SunOS 5.9 Generic May 2002
-sh: /usr/sbin:/usr/bin=/usr/sbin:/sbin:/opt/VRTS/bin:/opt/VRTSvcs/bin:/usr/sbin:/usr/bin: not found
-sh: $: not found
不知意味着什么.是bash配置好的正常表现吗? |
|