Hallo Leute, ich hab leider ein kleines Problem mit der Abfrage von Wahrheitswerten in der Shell-Programmierung. Ich moechte ein Shellscript schreiben, was unterschiedlich auf die Antwort von Ping reagiert .. Ungefaehr so: #!/bin/bash # if [ping blah (true)]; then (blockanweisung); else (blockanweisung); fi exit 0 Knackpunkt ist die Auswertung der Ping-Antwort. Koennte mir dabei jemand unter die Arme greifen?? Waere nicht schlecht .. Ich danke Euch schon mal im Vorraus fuer Eure Hilfe. Gruesse, Jan -- ___powrd_by_____ ___ ___ __ __ | #124386 | 2.0.38s & 2.2.13 | | (_) | __ \ | | | | \ \/ / | http://141.30.230.212 | |__ | | | | | | | |_| | | | | talk waja@141.30.230.212 |____| |_| |_| |_| \____| /_/\_\ | waja@gmx.de | phone: +491726611338 --------------------------------------------------------------------- To unsubscribe, e-mail: suse-linux-unsubscribe@suse.com For additional commands, e-mail: suse-linux-help@suse.com