DNS Resolution on Linux: dig, nslookup, resolv.conf
How Linux turns names into IP addresses, and how to debug when it goes wrong. The four tools that solve 99% of DNS problems.
How Linux turns names into IP addresses, and how to debug when it goes wrong. The four tools that solve 99% of DNS problems.
See exactly what is listening on your machine and what is connected. ss is the modern netstat — faster and more powerful.
pacman is fast, minimal, and slightly cryptic. Once you memorize the flag combinations, it is the cleanest package manager out there.
The modern ip command replaces ifconfig and route. One tool to inspect addresses, links, routes, and ARP.
dnf is the package manager on Fedora, RHEL, Rocky, Alma, and CentOS. Modern, fast, and increasingly capable.
apt is the package manager on Debian, Ubuntu, and their derivatives. These are the commands you will type every week.
Which package manager you use depends entirely on your distro. The concepts are the same; the commands differ.
Every modern Linux system logs to journald. journalctl is how you query those logs — by service, time, severity, anything.
The five systemctl commands you will type 50 times a day. Master these and you control every service on your Linux system.
systemd is the init system on every modern Linux. Writing a unit file is the standard way to make your script start on boot.
Get 20+ curated tech stories, tutorials, and a free tool every week. Join 10,000+ developers.
No spam. Unsubscribe anytime.