0
i m totally new .... Not getting o/p of below command in shell , plz help to write correct one.
A=0 echo $A B=3 if [$A=$B] then echo "ok" else echo "not ok" fi getting error as warning /error :[0=3]: not found
3 Respuestas
+ 1
Relational operators in shell:
Equal to -eq
Not equal to -ne
Greater than -gt
Less than -lt
Greater than or equal to -ge
Less than or equal to -le
The solution is [$A -eq $B].
0
help plz
0
thanks Steppenwolf , I had done it