摘要:
1. 函数默认退出状态码 function isDirExist { local dir=$1 ls $dir } dir=/path/test/ isDirExist "$dir" if [ $? -eq 1 ] then echo "The $dir is not exist" exit fi 阅读全文
posted @ 2022-02-12 14:18
箫笛
阅读(66)
评论(0)
推荐(0)
摘要:
brew 的安装 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" /usr/bin/ruby -e "$(curl -fsSL https://raw.gi 阅读全文
posted @ 2022-02-12 13:05
箫笛
阅读(80)
评论(0)
推荐(0)

浙公网安备 33010602011771号