Unix/Linux shell script reference page | alvinalexander.com

Unix/Linux shell script reference page | alvinalexander.com

瀏覽:1089
日期:2024-04-22
Linux shell script math/number equality tests Here's how you perform math/number/arithmetic tests using the Bourne and Bash shells: n1 -eq n2 Test if n1 equals n2 n1 -ne n2 Test if n1 is not equal to n2 n1 -lt n2 Test if n1 is less than n2 n1 -le n2 Test ...看更多