shell编程——if语句if -z -n -f -eq -ne -lt - 博客园

shell编程——if语句if -z -n -f -eq -ne -lt - 博客园

瀏覽:824
日期:2025-11-17
2012年7月5日 ... if command then if 函数 then, 命令执行成功,等于返回0 (比如grep ,找到匹配) 执行 失败,返回非0 (grep,没找到匹配). if [ expression_r_r_r ]...看更多