In the Korn shell, I want to test to see if grep returns results (RC 0). What is the command to display the return code? I know in csh it is echo $status, but I can't remember what it is in ksh.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.