Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In windows, I can use netview to see all the computers on the LAN network, but what's the corresponding command on linux?

share|improve this question
add comment

3 Answers

up vote 2 down vote accepted

yes you can.

open your terminal and type as who -a . that will list all information .

else you can use nmap also . great network tool.

you can get it by sudo apt-get install nmap

if you assume you IP starts from

192.168.1.1 then you can list all Computers connected with the LAN with this command

nmap 192.168.1.1-255 

The above command will scan from 192.168.1.1 to 192.168.1.255 IP's and list you which is up and which is down .

share|improve this answer
    
Or use Zenmap if you want a graphical interface for nmap –  bodhi.zazen Sep 30 '12 at 5:10
add comment

You can type

arp -a

commandin terminal to see computers on Lan.

share|improve this answer
add comment

net view on Windows is used for Active Directory. You can emulate this with Samba.

Use:

$ sudo apt-get install samba

This will install net commands that you can use to join the Windows domain, such as:

$ net help join
Usage:
net rpc join -U <username>[%%password] <type>
  Join a domain
    username    Name of the admin user    password  Password of the admin user, will prompt if not specified
    type    Can be one of the following:
        MEMBER  Join as member server (default)
        BDC Join as BDC
        PDC Join as PDC

You can also use arp-scan, found here, if you're only looking to discover hosts on the network.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.