Bash 笔记时间:2023-03-09 13:33:09 获取当前工作目录 basepath=$(cd `dirname $0`; pwd) 源文 : https://sexywp.com/bash-how-to-get-the-basepath-of-current-running-script.htm