Bash Operator
يكشنبه, ۲۹ دی ۱۳۹۸، ۱۱:۳۰ ق.ظ
are slightly different in bash than what you might be used to.
Bash Operator | Operator | Description |
---|---|---|
-eq |
== |
Equal |
-ne |
!= |
Not equal |
-gt |
> |
Greater than |
-ge |
>= |
Greater than or equal |
-lt |
< |
Less than |
-le |
<= |
Less than or equal |
-z |
== null |
Is null |
- ۹۸/۱۰/۲۹