用Cshell:
echo $shell
/bin/csh
添加PATH:
vi ~/.cshrc
注意,$PATH放在最后面,否则会报错,Bad : modifier in $ '/'. ,Linux不存在这个问题:
setenv PATH $PATH:/usr/local/nginx/sbin:/usr/local/php/bin:/usr/local/mysql/bin
Welcome to jackxiang's Compute Service !
Bad : modifier in $ '/'.
参考:https://stackoverflow.com/questions/27021663/changing-the-path-variable-on-freebsd
这个没有试过:http://shanchao7932297.blog.163.com/blog/static/136362420109935248893/
echo $shell
/bin/csh
添加PATH:
vi ~/.cshrc
注意,$PATH放在最后面,否则会报错,Bad : modifier in $ '/'. ,Linux不存在这个问题:
setenv PATH $PATH:/usr/local/nginx/sbin:/usr/local/php/bin:/usr/local/mysql/bin
Welcome to jackxiang's Compute Service !
Bad : modifier in $ '/'.
参考:https://stackoverflow.com/questions/27021663/changing-the-path-variable-on-freebsd
这个没有试过:http://shanchao7932297.blog.163.com/blog/static/136362420109935248893/
作者:jackxiang@向东博客 专注WEB应用 构架之美 --- 构架之美,在于尽态极妍 | 应用之美,在于药到病除
地址:http://jackxiang.com/post/9636/
版权所有。转载时必须以链接形式注明作者和原始出处及本声明!
最后编辑: jackxiang 编辑于2018-2-11 15:52
评论列表