📜  linux 测试示例 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:10.099000             🧑  作者: Mango

代码示例1
# -gt goes for greater than. 
test 100 -gt 99 && echo "Yes, that's true." || echo "No, that's false."
# Output: Yes, that's true.

test 98 -gt 99 && echo "Yes, that's true." || echo "No, that's false."
# Output: No, that's false.