F1CSNA
Please Log In to view the content of this page.


Passerelles Numeriques Students' Help Portal
 
HomeRegisterLog in
Welcome Scholars! New members please don't forget to visit the "Member Introduction" thread and introduce yourselves!

Share | 
 

 Linux simple script(Generate Arping)

Go down 
AuthorMessage
damlimsjutsu
Administrators
Administrators
avatar

Posts : 16
Join date : 2010-08-06
Age : 25
Location : n.p.a

PostSubject: Linux simple script(Generate Arping)   Thu May 08, 2014 4:31 am

#useful when you want to check if the IP address is active or not

#!/bin/bash

for((c=1;c<=254;c++))
do
arping -D -c3 -I eth1 $1"."$c >> $1.txt
done

after...do like this

=>give execute permission to this file
=> then run like this
=> ./test 172.16.6 or ./script_name + [first 3 octets of the ipv4 address]
Back to top Go down
http://f1csna.forumotion.com
 
Linux simple script(Generate Arping)
Back to top 
Page 1 of 1
 Similar topics
-
» Linux Based Stable Solution for VoIP Business!!
» Getting error when i run selenium script in Eclipse, please help
» how to generate xslt reports in testng?
» how to save a recorded script in IDE? what file extension do we need to use?
» How to using "selenium rest web services" can any body provide sample script

Permissions in this forum:You cannot reply to topics in this forum
F1CSNA :: Discussions :: Server and Network Administration :: NetAd Useful Stuff-
Jump to: