Remove rr from the variable value shell script Writing a shell script to validate the output value of a command executed.