Hello all
im trying to get the value of:
PHP Code:
/usr/ucb/ps -guxww | grep Tomcat | grep $USER | grep -v grep
into variable , im using csh .
like this :
PHP Code:
set PS="/usr/ucb/ps -guxww"
set isTomcat = `cat $PS | grep Tomcat | grep $USER | grep -v grep`
but im keep geting this error:
PHP Code:
cat: cannot open -guxww
how can i get the output right ?
thanks