User Tools

Site Tools


ubuntu:networking:cheatsheet

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ubuntu:networking:cheatsheet [2021/07/02 15:42] – created peterubuntu: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 all the routing table in numerical addresses.|+|ip route show|Display all the routing table in numerical addresses.|
 |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 "google.com".| |tracepath google.com|Trace the Internet connection to "google.com".|
 |mtr google.com|Trace the Internet connection to "google.com" (repeatedly).| |mtr google.com|Trace the Internet connection to "google.com" (repeatedly).|
-|dig [@dns-server.com] example.com [{a|mx|any}]|Check DNS records of "example.com" by "dns-server.com" for a "a", "mx", or "any" record.|+|dig <nowiki>[@dns-server.com] example.com [{a|mx|any}]</nowiki>|Check DNS records of "example.com" by "dns-server.com" for a "a", "mx", or "any" record.|
 |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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki