The valid conditional operator
-
-NE
-
-GT
-
-LT
-
-eq
Shell test operators are case-sensitive and follow specific patterns. -eq (lowercase) is the correct numeric equality operator. -NE, -GT, -LT are invalid - the correct forms would be -ne, -gt, -lt (lowercase). These operators work only for integers, not strings.
The correct answer is -eq. This is testing shell/POSIX test (or [ ]) conditional operators, which are case-sensitive and always lowercase: -eq (equal), -ne (not equal), -gt (greater than), -lt (less than), -ge, -le. As written, -NE, -GT, -LT are uppercase, which the shell does not recognize as valid comparison operators — a script using them would fail with an 'unknown operator' or similar error. -eq is the only option that matches the actual required lowercase syntax, so it's the valid conditional operator among the choices.