In Unix, how do you check that two given strings a and b are equal?
A. test $a –eq $b
B. test $a –equal $b
C. test $a = $b
D. Sh –C test $a = = $b
Answer:C
In Unix, how do you check that two given strings a and b are equal?
A. test $a –eq $b B. test $a –equal $b C. test $a = $b D. Sh –C test $a = = $b