0% found this document useful (0 votes)
20 views2 pages

Networking Commands

Uploaded by

harinimano2686
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views2 pages

Networking Commands

Uploaded by

harinimano2686
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Networking Commands Quick Reference

Windows Networking Commands


Command Usage

ipconfig Displays IP configuration details


ipconfig /all Shows full network details including MAC and DNS
ipconfig /release Releases current DHCP IP
ipconfig /renew Requests new DHCP IP
ipconfig /flushdns Clears DNS cache
ping <host> Checks connectivity to a host
tracert <host> Traces packet path
nslookup <domain> Queries DNS records
netstat Shows active TCP/UDP connections
netstat -ano Shows connections with PIDs
arp -a Displays ARP table
route print Shows routing table
getmac Shows MAC address
telnet <host> <port> Tests TCP port reachability
netsh wlan show profiles Lists saved Wi-Fi profiles
netsh wlan show profile <name> key=clear
Displays Wi-Fi password

Linux/macOS Networking Commands


Command Usage

ifconfig Shows interface IP details (deprecated)


ip a Displays all IP addresses
ip route show Shows routing table
ping <host> Tests connectivity
traceroute <host> Traces packet route
dig <domain> Detailed DNS lookup
nslookup <domain> Simple DNS lookup
netstat -tulnp Shows listening ports/services
ss -tulwn Modern socket stats
arp -n Displays ARP cache
ethtool <iface> Ethernet settings
mtr <host> Ping+traceroute live
whois <domain> Domain registration info
curl <url> Fetches data from URL
wget <url> Downloads from URL
tcpdump Packet capture
nmap <host> Port scan
iwconfig Wireless settings
nmcli dev show NetworkManager devices

Cross-Platform Commands
Command Usage

ping Test network reachability


traceroute/tracert Trace packet path
nslookup DNS lookup
curl Test HTTP/HTTPS
netstat View active connections
nmap Port scanning
arp View ARP table

Special Purpose Tools


Command Usage

ftp File transfer


scp Secure copy over SSH
sftp Secure FTP over SSH
telnet Test TCP port
ssh Remote login
openssl s_client -connect <host>:443
Check SSL/TLS details
speedtest-cli Test internet speed

You might also like