- 博客(2)
- 收藏
- 关注
原创 shell .bashrc中函数在其他脚本无法调用问题
在脚本中需要使用 .bashrc中的函数,无法调用时将[ -z "$PS1" ] && return 修改为#[ -z "$PS1" ] && return,然后再调用脚本最前面加source ~/.bashrc
2016-06-24 17:14:15
1648
原创 shell line 1: #!/bin/bash: No such file or directory
由于要显示中文,ANSI转utf8造成
2016-06-24 17:12:32
3110
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人