Atul Tyagi wrote:
status $PROCESS
STATE=$?
Is status a command ??
Ritesh
--
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Necessity is the mother of invention.
Stealing logic from one person is plagiarism, stealing from many is
research.
--- Ritesh Raj Sarraf [EMAIL PROTECTED] wrote:
status $PROCESS
STATE=$?
Is status a command ??
Sorry I didn't mention about that. Its basically a function specified in Redhat
systems in
/etc/init.d/functions.
Following is the code for status
status() {
local base=${1##*/}