On Fri, 2006-06-16 at 06:39, Fajar Priyanto wrote: > Hi all, > Can someone pls help me on how to make this bash script? > I want to monitor a process, and then when the process (for some reason) dies, > the script will start the process again. If you want it to happen at the system level, look at a 'respawn' entry in /etc/inittab. In a shell script, you can use ':' to mean forever in a while target: while : do yourprogram done -- Les Mikesell lesmikesell@xxxxxxxxx _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos