public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* Is a process running ?
@ 2003-07-28  9:20 Tim Fletcher
  2003-07-28 13:14 ` John T. Williams
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Fletcher @ 2003-07-28  9:20 UTC (permalink / raw)
  To: Linux-Newbie@Vger. Kernel. Org


Hi all,

i would like to write a simple shell script that checks for the existence of a certain programme, in this case python2.1. if the
programme is active, do nothing, if not, start it.

i did think of doing a ps -A |grep python2.1, but then i have no idea how to intergrate that in the shell script.

any ideas would be very  welcome

Thanks & HAND
Tim

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-28 16:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-28  9:20 Is a process running ? Tim Fletcher
2003-07-28 13:14 ` John T. Williams
2003-07-28 11:02   ` Tim Fletcher
2003-07-28 16:32   ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox