How to do a DNS lookup from the command line
You push a DNS change, then sit there wondering if it actually took. Don't wonder, ask: nslookup example.com works on any OS, Windows included, and confirms a name resolves or ...
You push a DNS change, then sit there wondering if it actually took. Don't wonder, ask: nslookup example.com works on any OS, Windows included, and confirms a name resolves or ...
Someone on the phone asks for your IP, and you blank on which command your OS wants. Windows takes ipconfig; Linux wants ip addr, or just ip a if you're ...
So the script won't run, or a web folder throws a 403 you can't explain. That's permissions, and the fix is usually chmod 644 for a plain file or chmod ...
A disk fills up, or a config file vanishes, and suddenly we need one file out of fifty thousand. find is the tool for that, and its shape never changes: ...
Somewhere in this project sits the line that sets that value, and we have no idea which file. grep 'pattern' file searches one file, and grep -r 'pattern' . walks ...
Some CDN link just handed you a 200-byte HTML file instead of the zip. We've been there, and the fix is one letter: curl -LO follows the redirect to the ...
Stéphane Cardon, network cybersecurity engineer. Architecture, LAN and WLAN, system administration. PacketNebula holds the tools and answers he wanted for his own work.
Copyright © 2026 Stephane Cardon.
Cookies, your call
We use Google Analytics to see which pages get read. Once our AdSense application is approved, articles and guides will carry Google ads. Nothing runs until you say yes, and nothing runs on the tool pages. Details