Linux-系统路径添加命令
Linux-系统路径添加命令
系统路径添加命令
本文地址: http://blog.csdn.net/caroline_wendy
1. 在根目录建立bin文件夹:$mkdir bin .bash_profile”:
$vi ~/.bash_profile系统路径:
PATH=$PATH:/Users/wangchenlong/bin export PATH .bash_profile”:
$source ~/.bash_profile显示路径, 是否加载成功
$echo $PATH软链接
$ln -s /Users/wangchenlong/Installations/gradle-1.11/bin/gradle gradle测试
$gradle -version
评论暂时关闭