Cheatsheet: Difference between revisions
Content added Content deleted
(→Misc) |
|||
Line 1,072: | Line 1,072: | ||
sudo fdisk -l ==> Partition & FS Type details |
sudo fdisk -l ==> Partition & FS Type details |
||
parted ==> List out partitions and modify them |
parted ==> List out partitions and modify them |
||
=== IP DNS Info === |
|||
; IP |
|||
ip addr show (ip a) |
|||
ifconfig |
|||
hostname -I |
|||
ip route get 8.8.8.8 | head -1 | awk '{print $7}' |
|||
ip route get 8.8.8.8 | head -1 | cut -d' ' -f7 |
|||
; DNS |
|||
cat /etc/resolv.conf |
|||
nmcli dev show | grep DNS |
|||
systemd-resolve --status |
|||
resolvectl status | grep -1 'DNS Server' |
|||
=== Misc === |
=== Misc === |