The hostname command or dets the hostname. You can also use uname -n.
The ping tool shows whether a basic connectivity with a given host is available. Traceroute display the route that the packets take to travel to the destination.
To identify the default getaway use route or netstat -nr.
To log in remotely into a network host use the slogin command: slogin 192.168.1.100.
To know information relating the host’s network configuration using the following command: hostname, uname -n, ifconfig, route netstat.
Use nmap to investigate the network lan. run nmap to identify what computer can be discovered, what operating systems they run and which port are open.
Discover host: nmap -sP 192.168.1.0/24
Identify operting systems: nmap -A -T4 192.168.1.100
To perform TCP port scan: nmap -sT -T4 192.168.1.100