deepin下怎么设置系统path?
Tofloor
poster avatar
132******86
deepin
2016-02-14 02:56
Author
.bash_profile没找到,deepin是不是把名字改了?deepin下怎么设置path变量?
Reply Favorite View the author
All Replies
avatar
Feng Yu
deepin
2016-02-14 03:15
#1
~/.bashrc                                                   
Reply View the author
avatar
晖
deepin
2017-04-09 03:59
#2
新建并打开一个脚本:
  1. # sudo vi /etc/profile.d/path.sh
Copy the Code


加入一下内容:
  1. PATH="/home/hui/software/node/bin:$PATH";
  2. export PATH;
Copy the Code
更新:
  1. # source /etc/profile
Copy the Code


Reply View the author