LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-07-2009, 08:59 PM   #1
RexRogan
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Writing a bash script in BackTrack3 for IP Addresses


I was assigned to write a bash script in backtrack which will reveal the active IP Addresses on a /30 network.

Normally I would not have a problem with this, but I just dont understand because would you not need the entire prefix (ex: 192.168.1) in order to ping sweep for a certain IP range?

basically what I'm asking is...

How do I nmap a list of IP's for a "/30 network" as that's all that we're given.
 
Old 12-07-2009, 09:55 PM   #2
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by RexRogan View Post
How do I nmap a list of IP's for a "/30 network" as that's all that we're given.
look at the man page. the answer is there.
 
Old 12-07-2009, 10:01 PM   #3
RexRogan
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Sorry, you'll have to forgive me. I'm brand new to both LQ and Linux in general.

Did you mean main page? I went there and couldn't find any information in the FAQ. And I did a search for "30 network" and couldnt find any relevant information.

Do you have anything else that could assist?
 
Old 12-07-2009, 10:26 PM   #4
ghostdog74
Senior Member
 
Registered: Aug 2006
Posts: 2,697
Blog Entries: 5

Rep: Reputation: 244Reputation: 244Reputation: 244
no, the man page. type man nmap on the command line.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need some help writing a bash script... trist007 Programming 8 04-15-2009 11:31 AM
Need help writing a bash script stympman Linux - Newbie 2 10-18-2008 08:55 PM
Writing a bash script s_b Linux - Newbie 7 10-08-2008 01:32 PM
Bash (help writing script) lebabyg Linux - General 7 07-04-2006 06:22 PM
bash script, parsing email addresses kepler Programming 6 01-26-2004 07:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration