Linux下添加PATH環境變量

方法一(僅此shell添加):shell

終端執行 export PATH=$PATH:/***/***file


方法二(全局添加):終端

修改/etc/profile方法

export PATH="$PATH:/***/***"

終端運行source /etc/profile

相關文章
相關標籤/搜索