The “test” command evaluates the condition and indicates the result of the evaluation by its exit status. An exit status of zero indicates that the condition is evaluated as true and an exit status of 1 indicates that the condition evaluates as false. The “-n” string is True if the length of the string is non-zero. The “-z” string is True if the length of the string is zero.