ubuntu:networking:cheatsheet
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ubuntu:networking:cheatsheet [2021/07/02 15:42] – created peter | ubuntu:networking:cheatsheet [2022/10/18 17:53] (current) – peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Ubuntu - Networking - Cheatsheet ====== | ====== Ubuntu - Networking - Cheatsheet ====== | ||
- | ^Command|Description^ | + | ^Command^Description^ |
|ifconfig|Display the link and address status of active interfaces.| | |ifconfig|Display the link and address status of active interfaces.| | ||
|ip addr show|Display the link and address status of active interfaces.| | |ip addr show|Display the link and address status of active interfaces.| | ||
|route -n|Display all the routing table in numerical addresses.| | |route -n|Display all the routing table in numerical addresses.| | ||
- | |ip route show display | + | |ip route show|Display |
|arp|Display the current content of the ARP cache tables.| | |arp|Display the current content of the ARP cache tables.| | ||
|ip neigh|Display the current content of the ARP cache tables.| | |ip neigh|Display the current content of the ARP cache tables.| | ||
Line 14: | Line 14: | ||
|tracepath google.com|Trace the Internet connection to " | |tracepath google.com|Trace the Internet connection to " | ||
|mtr google.com|Trace the Internet connection to " | |mtr google.com|Trace the Internet connection to " | ||
- | |dig [@dns-server.com] example.com [{a|mx|any}]|Check DNS records of " | + | |dig < |
|iptables -L -n|Check packet filter| | |iptables -L -n|Check packet filter| | ||
|netstat -a|Find all open ports| | |netstat -a|Find all open ports| |
ubuntu/networking/cheatsheet.1625240530.txt.gz · Last modified: 2021/07/02 15:42 by peter