F1CSNA
Please Log In to view the content of this page.
F1CSNA
Please Log In to view the content of this page.
F1CSNA
Would you like to react to this message? Create an account in a few clicks or log in to continue.


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

 

 Linux simple script(Generate Arping)

Go down 
AuthorMessage
damlimsjutsu
Administrators
Administrators
damlimsjutsu


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

Linux simple script(Generate Arping) Empty
PostSubject: Linux simple script(Generate Arping)   Linux simple script(Generate Arping) Icon_minitimeThu 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
https://f1csna.forumotion.com
 
Linux simple script(Generate Arping)
Back to top 
Page 1 of 1
 Similar topics
-
» create a linux shared folder using cli
» Linux Finding Stuff(Basics)
» 12 Reasons Why Every Linux System Administrator Should be Lazy
» Copying and converting file in linux (dd commands)
» Accessing windows share on linux environment

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