当前位置:  技术问答>linux和unix

问个.cshrc 的问题 苦恼阿!!!!!!!

    来源: 互联网  发布时间:2016-03-14

    本文导语:  我在这个文件里设了环境变量 重启动了就是没有这个变啊  我是用的csh 是杀原因    我的用户目录里没有tcshrc  检查是 /bin/csh | 是不是主目录下有.tcshrc文件?    Startup and shutdown      ...

我在这个文件里设了环境变量
重启动了就是没有这个变啊  我是用的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

    
 
 
 
本站(WWW.)旨在分享和传播互联网科技相关的资讯和技术,将尽最大努力为读者提供更好的信息聚合和浏览方式。
本站(WWW.)站内文章除注明原创外,均为转载、整理或搜集自网络。欢迎任何形式的转载,转载请注明出处。












  • 相关文章推荐
  • 为什么我的linux cshell没有执行.cshrc
  • .cshrc 误删,怎么恢复
  • 求助:.cshrc文件和.profile文件的作用各是什么?区别呢?
  • 送分了:怎么将同一组用户cd的文件.cshrc拷成我的此文件?
  • 如何修改.cshrc脚本,使得Termial窗口颜色永久改变?


  • 站内导航:


    特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

    ©2012-2021,,E-mail:www_#163.com(请将#改为@)

    浙ICP备11055608号-3