Hi, I wrote a bash script from which I call one c-program, that is mainly a loop. But in the script I would like to be able to just kill the loop. So I thought, that there must be a way how to get the PID of a program when starting it (then save it in a variable and later use it to call kill). Is there? Thanks for any help, Pir --- Alles Kaufen und Verkaufen! eBay.at - der eigene Marktplatz für Österreich. http://www.austronaut.at/ebay.php