摘要: 1.$(realpath $0):当前脚本的绝对路径 2.$(dirname $(realpath $0)):当前脚本所在的文件夹 3.source filename或 . filename 导入模块 4.if [[ ! -f ${filepath} ]]; then fi-f指判断文件是否存在-d 阅读全文
posted @ 2022-03-03 11:09 KeepSmiling_me 阅读(472) 评论(0) 推荐(0)