摘要: foo="cmd" $cmd &> /dev/null $($cmd &> /dev/null) if [[ $($cmd &> /dev/null) -eq 0 ]]; then echo running; fi if [[ $($cmd &> /dev/null) -ne 0 ]]; then 阅读全文
posted @ 2022-12-30 16:41 小黑狐狸1001 阅读(23) 评论(0) 推荐(0) 编辑