由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - 偷偷地问个超低级问题
相关主题
how to use setuid permission for a perl program?求救,ZhXWin Install.
What's defference between Saloris&SunOs?为什么普通用户无法登陆?
Solaris Versions关于R.Stevens书中UNIX系统一问
Re: [转载] How to set ENV for root?about Sun Workstations
what's the use of "ta"What's wrong with "CXTERM"CXTERM INSTALL : HELP !
How to implement sopen on unix?Help about installing Cxterm5.0!!!!
急!!!!tcsh question II
为何我在Solaris下用netscape看不了中文?where is the pre-build version of cxterm-solaris
相关话题的讨论汇总
话题: path话题: bin话题: ccs话题: usr话题: bash
进入Unix版参与讨论
1 (共1页)
t*h
发帖数: 148
1
sunOS 5.8, bash
每次输入命令都要加上全路径,比如
/usr/ccs/bin/make
/apps/gcc/bin/g++
实在是麻烦。有没有办法解决?翻翻前面的帖子,
还是只有个模糊的映象。哪位帮帮忙?
X****r
发帖数: 3557
2
加到环境变量PATH里

【在 t*h 的大作中提到】
: sunOS 5.8, bash
: 每次输入命令都要加上全路径,比如
: /usr/ccs/bin/make
: /apps/gcc/bin/g++
: 实在是麻烦。有没有办法解决?翻翻前面的帖子,
: 还是只有个模糊的映象。哪位帮帮忙?

t*h
发帖数: 148
3
how? can you give me some details? thx.

【在 X****r 的大作中提到】
: 加到环境变量PATH里
m**i
发帖数: 724
4
PATH=$PATH;/usr/ccs/bin/make
export PATH
? this is for bash
google ba.

【在 t*h 的大作中提到】
: how? can you give me some details? thx.
t*h
发帖数: 148
5
I have tried this.
export PATH=$PATH:/usr/ccs/bin:/apps/gcc/bin
it works for bash
But every time I restart the computer,
the ENV is the same as before.

【在 m**i 的大作中提到】
: PATH=$PATH;/usr/ccs/bin/make
: export PATH
: ? this is for bash
: google ba.

t*h
发帖数: 148
6
add it to ~/.profile
I do not have it, so I create one.
It works.
Thanks all.

【在 t*h 的大作中提到】
: I have tried this.
: export PATH=$PATH:/usr/ccs/bin:/apps/gcc/bin
: it works for bash
: But every time I restart the computer,
: the ENV is the same as before.

1 (共1页)
进入Unix版参与讨论
相关主题
where is the pre-build version of cxterm-solariswhat's the use of "ta"
偶要疯了!How to implement sopen on unix?
为什么有时用windows的telnet,每打一个字母会出现两个相同的字母呀?急!!!!
怎么查自己的SUN用的什么版本的操作系统?为何我在Solaris下用netscape看不了中文?
how to use setuid permission for a perl program?求救,ZhXWin Install.
What's defference between Saloris&SunOs?为什么普通用户无法登陆?
Solaris Versions关于R.Stevens书中UNIX系统一问
Re: [转载] How to set ENV for root?about Sun Workstations
相关话题的讨论汇总
话题: path话题: bin话题: ccs话题: usr话题: bash