Hacker News new | past | comments | ask | show | jobs | submit login
Networking Tools Every Developer Needs to Know (martinheinz.dev)
44 points by pngmangi on Dec 1, 2020 | hide | past | favorite | 8 comments



>Using [dig] might seem a little intimidating as its syntax is frankly plain stupid.

Dig has one of the least stupid syntaxes, IMO. It'll happily take your query in any order and isn't case sensitive. @ for the dns server you want to ask (or omit for resolv.conf lookup), + for options, otherwise specify name and type (and class if you want) in any order.. the following four queries will all get you the same info back without complaint:

    $ dig TXT google.com. +short @8.8.8.8
    $ dig +short @8.8.8.8 google.com. txt
    $ dig google.com. @8.8.8.8 TXT +short
    $ dig @8.8.8.8 +short google.com. txt


I recently discovered the `-brief` flag to ip(1). It shows a summary table for the address and link commands that can be easier to read than the default output.


Surprised not to see wireshark (or tcpdump) in there. Good list, though.


+1 tcpdump is indispensable!


+1. Although you know things are _bad_ when you end up reaching for Wireshark / tcpdump normally!


It's only really mentioned as a tag on the article, but significant portions of this are only relevant to a Linux environment.

That doesn't mean it's not useful, but there are entire swathes of developers who will never deal with Linux, so claiming "every developer" is hyperbole.


Yep. At minimum, any self-respecting Windows developer should know the Sysinternals tools, for example.


TIL some Windows devs have self respect.

I kid, I kid. I know they don't really :P




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: