LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-03-2009, 10:15 AM   #1
pbbalaji
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Rep: Reputation: Disabled
how to find Unix based host names over network


Hi All,

I need help in finding the linux machine host names over my office network.
with script or any tool.
please help me in this regard.

Thanks in Advance.
Balaji.

Last edited by pbbalaji; 08-03-2009 at 10:18 AM.
 
Old 08-03-2009, 10:25 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by pbbalaji View Post
Hi All,

I need help in finding the linux machine host names over my office network.
with script or any tool.
please help me in this regard.

Thanks in Advance.
Balaji.
A quick Google search would have led you to nmap. However, there aren't any tools that are fool-proof. Machines could be turned off, behind a firewall, have iptables on them, etc., and not show up.

If you need 100% accuracy, get a notepad and pen, and walk around your office.
 
Old 08-03-2009, 11:58 PM   #3
pbbalaji
LQ Newbie
 
Registered: Aug 2009
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi Boss,

Thanks for the reply, My office is occupied with all Windos machines, recently management is showing interest in moving to linux (opensource), in part of that, unable to track those machines, so I am in quest of any tool are script to discover only LINUX based machines.

I believe NMAP helps in finding all host names, but i need only LINUX based machines.

Thanks in Advance.

Regards,
Balaji, IT.
 
Old 08-04-2009, 01:58 PM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,604

Rep: Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960Reputation: 7960
Quote:
Originally Posted by pbbalaji View Post
Hi Boss,

Thanks for the reply, My office is occupied with all Windos machines, recently management is showing interest in moving to linux (opensource), in part of that, unable to track those machines, so I am in quest of any tool are script to discover only LINUX based machines.

I believe NMAP helps in finding all host names, but i need only LINUX based machines.

Thanks in Advance.

Regards,
Balaji, IT.
I'm not your boss.

Nmap can do OS discovery as well. If you only need Linux based machines, then just pull out the linux (or non-windows) systems out of the list that you get returned to you.

Again, it's not 100% accurate...see my previous post.
 
Old 08-06-2009, 11:06 AM   #5
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
try nmap -O -oX nmap.xml <subnet> and parse the XML output to extract the Linux only hosts.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi, how do you find names on a network? crusader7 Linux - Newbie 1 07-09-2009 06:06 PM
Find out network settings in SCO Unix Mickaletto Other *NIX 2 04-20-2009 10:33 AM
names of linux and unix on servers ahmed gamal Linux - Distributions 4 11-18-2008 03:24 AM
setting up a unix-based wireless home network name_in_use450 Linux - Wireless Networking 0 08-18-2004 07:21 PM
host names??? jonfa Linux - Networking 1 05-28-2001 08:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:12 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
Open Source Consulting | Domain Registration