Linux Shell 相关记录
时间:2014-09-10 09:44:00
收藏:0
阅读:233
http://www.tutorialspoint.com/unix/unix-shell.htm
Linux Shell 获取脚本的所在目录的绝对路径
basedir=$(cd $(dirname $0); pwd;)
echo $basedirshell 执行错误马上退出,而不是继续执行
set -e
评论(0)