b*****h 发帖数: 3386 | 1 邮电郁闷了。 看贴图。./明明在途径里。
多谢了。 |
h***r 发帖数: 726 | 2 paths are seperated by :, not by space.
【在 b*****h 的大作中提到】 : 邮电郁闷了。 看贴图。./明明在途径里。 : 多谢了。
|
y***u 发帖数: 5243 | 3 这样比较安全阿。建议这样
【在 b*****h 的大作中提到】 : 邮电郁闷了。 看贴图。./明明在途径里。 : 多谢了。
|
b*****h 发帖数: 3386 | 4 Thanks.
my .tcshr was written in this way.
or I just test to type them directly, please see the attched image again.
【在 h***r 的大作中提到】 : paths are seperated by :, not by space.
|
b*****h 发帖数: 3386 | 5 哎,俺这么多年都直接敲地,spoiled...
总之是好奇怪哦,平常在我自己的.tcshrc里加上./就好了。
可这次这个系统邪了。。。
【在 y***u 的大作中提到】 : 这样比较安全阿。建议这样
|
E*V 发帖数: 17544 | 6 weird
for csh/tcsh
put
set path = ( $path /your/own/path . )
into your .cshrc /.tcshrc
then re-login
it should work
I just tested on Ubuntu.
are you using bsd?
【在 b*****h 的大作中提到】 : 邮电郁闷了。 看贴图。./明明在途径里。 : 多谢了。
|
E*V 发帖数: 17544 | 7 for bash
export PATH=$PATH:your/path
it seems to me you set PATH for tcsh?
try "path"
【在 E*V 的大作中提到】 : weird : for csh/tcsh : put : set path = ( $path /your/own/path . ) : into your .cshrc /.tcshrc : then re-login : it should work : I just tested on Ubuntu. : are you using bsd?
|
E*V 发帖数: 17544 | 8 anyway, it is not recommended to add the current dir to your path
it is un-safe, many gurus would say
【在 E*V 的大作中提到】 : for bash : export PATH=$PATH:your/path : it seems to me you set PATH for tcsh? : try "path"
|
d********g 发帖数: 10550 | 9 习惯而已,其实RH以前默认就把./加到$PATH的,只不过用Linux的或多或少都有点强迫
症和控制欲
【在 E*V 的大作中提到】 : anyway, it is not recommended to add the current dir to your path : it is un-safe, many gurus would say
|
b*****h 发帖数: 3386 | 10
yeah. I have been using tcsh.
will try. thanks, bro!
【在 E*V 的大作中提到】 : for bash : export PATH=$PATH:your/path : it seems to me you set PATH for tcsh? : try "path"
|
v*s 发帖数: 946 | 11 dot slash 敲习惯了就好了。
有时候看到一个naked command都觉得奇怪。 |