Bash script
From: Sousa Ferreira (sousaferreira@netcabo.pt)Date: 08/30/01
- Previous message: Pradeep Kumar: "RE: Linux or Windows as Server-OS?"
- Next in thread: Myers, Mike: "RE: Bash script"
- Reply: Myers, Mike: "RE: Bash script"
- Reply: Ryan Hilton: "Re: Bash script"
- Reply: Kheos Ml: "Re: Bash script"
- Reply: Sebastien Billard: "Re: Bash script"
- Reply: Karsten: "Re: Bash script"
- Reply: Matt Simonsen: "Re: Bash script"
- Reply: dewt: "Re: Bash script"
- Reply: Nick Wilkens: "Re: Bash script"
- Reply: Russell Foster: "RE: Bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Sousa Ferreira" <sousaferreira@netcabo.pt> To: "Security Basics" <security-basics@securityfocus.com> Subject: Bash script Date: Thu, 30 Aug 2001 17:04:43 +0100 Message-ID: <IEEKKDAEMJBHKFOCOKGICEAICCAA.sousaferreira@netcabo.pt>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi ...
Long time reader, first time asker here!
Just wondering if someone could help with a "simple" script in $bash
i have to make.
I need a script that´s pings a certain ip, reads the reply and ... if
there is any reply, it reschedules itself to ping the ip again in
lets say 60 secs.
Otherwise it starts a daemon, firewall, backup smb daemon, etc. .
My doubt is on how to get the script to read the ping awnser
(afirmative or not).
The main interest in this is that if the primary firewall fails (UPS
probs i´m having and lack of $$ to other one ;) ) the backup one goes
off.
Sorry for the lamme question and thanks in advance for your opinions
on how can i do it.
______________________________________________//______________________
___________________________
As informações contidas neste email são confidenciais
e destinam-se apenas à(s) pessoa(s) para quem foi enviado.
PGP KeyID : 0xB7723B21
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.4
iQA/AwUBO45kGyNcH2C3cjshEQIHSwCfYbuVOFXRjOVM5/TcB/nhszIEwQUAn0O/
UDH6KJFEj0eFh6GskVHB0xSB
=GCeL
-----END PGP SIGNATURE-----
- Previous message: Pradeep Kumar: "RE: Linux or Windows as Server-OS?"
- Next in thread: Myers, Mike: "RE: Bash script"
- Reply: Myers, Mike: "RE: Bash script"
- Reply: Ryan Hilton: "Re: Bash script"
- Reply: Kheos Ml: "Re: Bash script"
- Reply: Sebastien Billard: "Re: Bash script"
- Reply: Karsten: "Re: Bash script"
- Reply: Matt Simonsen: "Re: Bash script"
- Reply: dewt: "Re: Bash script"
- Reply: Nick Wilkens: "Re: Bash script"
- Reply: Russell Foster: "RE: Bash script"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|