Cheatsheet: Difference between revisions

Content added Content deleted
Line 1,231: Line 1,231:
parted ==> List out partitions and modify them
parted ==> List out partitions and modify them


=== IP DNS Info ===
=== IP ===

==== IP ====
ip addr show (ip a)
ip addr show (ip a)
ifconfig
ifconfig
Line 1,257: Line 1,255:
! reject route
! reject route


==== DNS Config Info ====
=== DNS ===
==== Config Info ====


cat /etc/resolv.conf
cat /etc/resolv.conf
Line 1,264: Line 1,263:
resolvectl status | grep -1 'DNS Server'
resolvectl status | grep -1 'DNS Server'


==== DNS of Domains ====
==== Resolution ====


===== Host Command =====
===== Host Command =====
Line 1,299: Line 1,298:
nslookup -debug yahoo.com ==> verbose information like TTL, etc
nslookup -debug yahoo.com ==> verbose information like TTL, etc


===== TCP Parameters =====
=== TCP Parameters ===


;MSL
;MSL