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
damlimsjutsu

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
-
» Need to randomly generate a DOB in SeleniumIDE
» Need to do a simple Left Click in a text box
» googlechrome is not able to generate any content to the log:
» Touchscreen testing
» I am getting a save pop-over on running my RC script.

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