10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I did the following script to ping multiple servers, but I keep on receiveing duplicate emails for one server that is down:
#!/bin/bash
date
cat /var/tmp/servers.list | while read output
do
ping -c 1 "$output" > /dev/null
if ; then
echo "node $output is up"
else
... (10 Replies)
Discussion started by: fretagi
10 Replies
2. Shell Programming and Scripting
Hi Team,
Need shell script to Telnet multiple node , Ping some IP and print output like pass or fail.
Need this script to check reachability of multiple nodes at same time.
Help me.
I use this but not working...
Eg.
in this script i need to telnet... (4 Replies)
Discussion started by: Ganesh Mankar
4 Replies
3. Shell Programming and Scripting
Hi friends,
i have a file contains IP address like below
cat file.txt
10.223.20.1
10.223.20.2
10.223.20.3
10.223.20.4
10.223.10.5
.
.
.
like this
Now i want to make a script which gives output whether each ip is pinging or not...
the result will be like this
10.223.20.1 up... (9 Replies)
Discussion started by: siva kumar
9 Replies
4. Shell Programming and Scripting
Hi,
I need to ping all the systems in my network and then create a log for the ones, from where I successfully get the ping-response (ICMP packet).
Now, I've used the ping command successfully, but am unable to use 'grep' command to locate the IPs for which the ping was successful (so that I... (5 Replies)
Discussion started by: psychoTHEIST
5 Replies
5. IP Networking
Hi all,
please help solving my small issue
below is the configuration
I have 3 systems
sytem1 -------- system 2 ----------system 3
system 1 : 10.255.1.4 & default gw 10.255.1.55
system2 : ip 1 : 10.255.1.55 , ip 2: 10.255.2.1
system 3 : ip : 10.255.2.3
on system 2 : ... (4 Replies)
Discussion started by: Gopi Krishna P
4 Replies
6. Shell Programming and Scripting
hi anyone,
i want shell script for ping command.
any one post here............ (10 Replies)
Discussion started by: rameshreddy.ema
10 Replies
7. Shell Programming and Scripting
Hi
Can someone give me a shell script that can ping a range of IPs and return IPs which are not pingable.
Range for example say 192.168.0.1 to 192.168.0.50 and whichever are not pingable then return the IP.
Thanks for your help (3 Replies)
Discussion started by: tannu
3 Replies
8. UNIX for Dummies Questions & Answers
Suppose I have a script named "sc.sh"
in the script how to print out its name "sc.sh"? (3 Replies)
Discussion started by: meili100
3 Replies
9. UNIX for Dummies Questions & Answers
I want to access window file system through Samba. when i ping Window machine through linux machine it connect, but in reverse case it shows "Request time out". could any one suggest what problem may be. (1 Reply)
Discussion started by: sonirajesh
1 Replies
10. Shell Programming and Scripting
Dear all,
This is the Bionic Fysh again. I have two quick questions:
1- when writing shell scripts, how does one allow the tilda ~ into the script ?
e.g
ls ~;
ls ~me;
user=you;
ls ~$user (N.B I think that for this one you need: ls `~$user`)
2- In FreeBSD 4.0, I would like for a... (6 Replies)
Discussion started by: bionicfysh
6 Replies