Linux – Advanced Commands
Show status of ethernet interface eth0: ethtool eth0 List addresses for interfaces: ip addr show (OR) ip a Set default gateway: ip route add default via 1.2.3.254 List routing table: ip route show Add (or del) ip and mask (255.255.255.0): ip addr add 1.2.3.4/24 brd + dev eth0 Text Manipulation: Replace string1 with string2: sed […]