Shell中if -n 与 -z的区别 Post author:xfxia Post published:2023年10月9日 Post category:其他 if [ str1 = str2 ] 当两个串有相同内容、长度时为真 if [ str1 != str2 ] 当串str1和str2不等时为真 if [ -n str1 ] 当串的长度大于0时为真(串非空) if [ -z str1 ] 当串的长度为0时为真(空串) if [ str1 ] 当串str1为非空时为真 你可能也喜欢 X11 转发 k8s IPVS模式下externalIP导致节点故障浅析 opencore 启动总是在win_黑苹果OpenCore引导总结 朝鲜APT组织使用带后门IDA软件攻击安全研究人员 C++primer第6章函数 Redis学习笔记07–SpringBoot整合 Mybatis-plus deleteBatchIds报错: jdbcType (null) combination. 什么是标定? 除夕快乐,烟花表演,转发得好远https://643152v6w9.yicp.fun/firework/ HugeGraph基础 计算机学科评估没有的211大学,电子信息专硕分数线高达388分! C语言 检测用户错误输入 整理自然数前n项p次方求和公式 dockerToolbox和docker for windows的区别详解 第十三章 Spring Cloud Config 统一配置中心详解-客户端动态刷新 2022年地理信息系统与遥感专业就业前景与升学高校排名选择 基于寄存器的stm32模板建立 react函数组件的父子传值 安装思源笔记/siyuan插件pandoc Django – 定时任务框架【django-apscheduler】基本使用详解(二)