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

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

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