linux 判断某个命令是否存在

[ ! -x "$(command -v bzip2)" ]&&echo bzip2 not exist

发布了15 篇原创文章 · 获赞 5 · 访问量 9057

猜你喜欢

转载自blog.csdn.net/qq_35702095/article/details/104196090