which command is linux's netview?
Solution 1
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 .
Solution 2
You can type
arp -a
commandin terminal to see computers on Lan.
Solution 3
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.
Comments
-
shengy over 1 year
In windows, I can use netview to see all the computers on the LAN network, but what's the corresponding command on linux?
-
Panther over 11 yearsOr use Zenmap if you want a graphical interface for nmap
-
Shayan almost 6 yearsNote that
arp
shows the IPs that the computer has contacted from cache so it doesn't list all devices on the network. One should use a ping loop to contact all the hosts first then usearp
.