当前脚本全路径
echo $(readlink -f "$0")
获取绝对路径(不带文件名)
echo $(dirname $(readlink -f "$0"))
获取文件名(不带路径)
echo $(basename $(readlink -f "$0"))