[bglug] script bash

./SuperbepS bglug@lists.linux.it
Wed, 25 Sep 2002 17:27:34 +0200


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In data astrale 14:51, mercoled=C3=AC 25 settembre 2002, l'ammiraglio del=
la flotta=20
stellare Diego Tironi scrisse:
> A questo punto la mia domanda e':
> qual'e' la tecnica piu' pulita per fare in modo che quando mando un seg=
nale
> SIGTERM o SIGKILL alla bash che esegue script.sh vengano terminati anch=
e
> tutti i processi figli lanciati dallo script?
secondo me la tecnica piu' pulita e' questa:
#|/bin/bash
tail -f --pid=3D$PPID /var/log/syslog

> Grazie a chi mi rispondera' :-)
Prego :-)
- --=20
Ciao ???
___________________________________________________________
Riker: "Just hoping this isn't the usual way our missions will go, sir."
Picard: "Oh no, Number One, I'm sure most will be much more interesting. =
Let's
see what's out there. Engage."
- -- "Encounter at Farpoint", Stardate 41153.7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9kdXmcKEJStHWD7URAtcxAJ9LhhsfaKW2kT+AorTU9DsmcUjx+QCg4RQ1
TWJGtWdKBFMczkC1rF4utSY=3D
=3D+/8I
-----END PGP SIGNATURE-----