由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - 每次运行命令都要敲./, 咋办啊
相关主题
linux tcsh下less的问题samba force file permission
请教: KDE 里面的terminal 没法用了如何设置.cshrc文件
新手问个问题怎么从script中把环境变量传回到当前shell中?
tcsh有没有办法用bash的那个 双击tab功能?请问tcsh里如何将环境变量临时改变且传递给一个命令?
小白问个csh的问题问一个关于awk & shell的问题
设置环境变量求助。问问应该学用那个shell?
TCSH里怎么用setenv把一个带有空格的路径加给$PATH? (转载)autocompletion in Bash
问题screen窗口的title能不能设成自动刷新路径?
相关话题的讨论汇总
话题: path话题: tcsh话题: tcshrc话题: your话题: 咋办
进入Linux版参与讨论
1 (共1页)
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都觉得奇怪。
1 (共1页)
进入Linux版参与讨论
相关主题
screen窗口的title能不能设成自动刷新路径?小白问个csh的问题
命令行下咋回到历史目录啊?设置环境变量求助。
bash 中如何将命令的返回值存到变量中?求助TCSH里怎么用setenv把一个带有空格的路径加给$PATH? (转载)
求助 makefile编译问题
linux tcsh下less的问题samba force file permission
请教: KDE 里面的terminal 没法用了如何设置.cshrc文件
新手问个问题怎么从script中把环境变量传回到当前shell中?
tcsh有没有办法用bash的那个 双击tab功能?请问tcsh里如何将环境变量临时改变且传递给一个命令?
相关话题的讨论汇总
话题: path话题: tcsh话题: tcshrc话题: your话题: 咋办