当前位置: 技术问答>linux和unix
问个.cshrc 的问题 苦恼阿!!!!!!!
来源: 互联网 发布时间:2016-03-14
本文导语: 我在这个文件里设了环境变量 重启动了就是没有这个变啊 我是用的csh 是杀原因 我的用户目录里没有tcshrc 检查是 /bin/csh | 是不是主目录下有.tcshrc文件? Startup and shutdown ...
我在这个文件里设了环境变量
重启动了就是没有这个变啊 我是用的csh
是杀原因 我的用户目录里没有tcshrc
检查是
/bin/csh
重启动了就是没有这个变啊 我是用的csh
是杀原因 我的用户目录里没有tcshrc
检查是
/bin/csh
|
是不是主目录下有.tcshrc文件?
Startup and shutdown
A login shell begins by executing commands from the system files
/etc/csh.cshrc and /etc/csh.login. It then executes commands from
files in the user's home directory: first ~/.tcshrc (+) or, if
~/.tcshrc is not found, ~/.cshrc, then ~/.history (or the value of the
histfile shell variable), then ~/.login, and finally ~/.cshdirs (or the
value of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and ~/.login
before instead of after ~/.tcshrc or ~/.cshrc and ~/.history, if so
compiled; see the version shell variable. (+)
Non-login shells read only /etc/csh.cshrc and ~/.tcshrc or ~/.cshrc on
startup.
|
man csh