LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   IP network script (https://www.linuxquestions.org/questions/linux-networking-3/ip-network-script-4175495079/)

medeiom 02-15-2014 10:25 PM

IP network script
 
Can someone help me on how do I go about writing a script that will gather all IP addresses from my network?

Thank you.

allend 02-15-2014 11:19 PM

You can do a ping sweep using nmap.e.g. 'nmap -sn 10.1.1.1/24'

TB0ne 02-16-2014 10:47 AM

Quote:

Originally Posted by medeiom (Post 5118485)
Can someone help me on how do I go about writing a script that will gather all IP addresses from my network?
Thank you.

We'll be glad to...so post what you've written/tried so far, and tell us where you're stuck. We are happy to help, but will not write your scripts for you. Check out the bash scripting tutorial in my posting signature, or find one of many others Google can point you to. They have samples and explanations to get you going.


All times are GMT -5. The time now is 03:35 PM.