bash 中的“if test”是什么意思?

问题描述 投票:0回答:0

什么意思

if test "${command}" = "my_name"; then ..?  

这个 if(带有“测试”一词)与简单的 if 语句有什么区别:

if "${command}" = "my_name"; then ..?
bash if-statement syntax
© www.soinside.com 2019 - 2024. All rights reserved.