Using Perl, how does one test the return value of the ps + grep commands ?? TIAps -ef | grep -v grep | grep inetd $rc = $? if [ $rc -ne 0 ] ; then echo " inetd is not up " fi
In reply to Test for daemon by wube
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |