Hi,
Binand Raj S. typed:
> > grep [string] |grep -v grep
> > should be solution to your important shellscript.
> And if the string is grep itself??
Maybe this should help him:
ps aux | awk '$11 ~ /^\.\/setiathome/ { print }'
This prints all lines in which the 11th field starts with
"./setiathome". Specific enough?
--
Mrinal Kalakrishnan <[EMAIL PROTECTED]> http://mrinal.dhs.org/
Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.4i (2000-06-19) || VIM 5.6
--
Linux! Guerrilla UNIX Development Venimus, Vidimus, Dolavimus.
(By [EMAIL PROTECTED], Mark A. Horton KA4YBR)
-----------------------------------------------------------------------
For information on this and other Linux India mailing lists check out
http://lists.linux-india.org/