当前位置:首页 > Windows程序 > 正文

cygwin中修改path变量

2024-03-31 Windows程序

1、在家目录建立 .bash_profile 文件。

2、在该文件添加:

export PATH=http://www.mamicode.com/my/path/:$PATH

3、解释,/my/path/为你要添加的目录,为什么不在.bashrc中修改?因为根据规则,.bashrc在.bash_profile中调用,实际系统指执行.bash_profile

cygwin中修改path变量

标签:

原文地址:https://www.cnblogs.com/litifeng/p/11621451.html

温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/9047.html

Jm-杰米博客Jamie
草根站长的技术交流乐园!IT不会不要紧快来好好学习吧!
  • 20786文章总数
  • 7494585访问次数
  • 建站天数
  • 友情链接