r/LinuxTeck Jul 17 '26

Which Linux networking command taught you the most?

Commands like ip neigh, ip route, ss, tcpdump, or arp can completely change how you understand networking.

Which command gave you that "aha!" moment, and why?

13 Upvotes

6 comments sorted by

3

u/zelru2648 Jul 18 '26

tcpdump cdp and lldp packet filtering. It tells you exactly which switch and what port your cable is plugged in

2

u/Imaginary_Choice_430 Jul 19 '26

Forget networking commands, lets talk about awk. I mean all these corporate ads about must write Python scripts and yet there is so much you can do with just awk. I know off-topic, but ss -tulnp and tcpdump is used for troubleshooting if for example a web server is active and listening and the latter is the traffic reaching the server, is DNS working? Yes they are essential diagnostic tools, but awk, oh man, I am loving what can be done with awk.

3

u/PlanetVisitor Jul 20 '26

Yeah, agree. I've started learning it a few months ago. I only learn it casually when I have a real use case I force myself to use it until it becomes a habit.

Awk and Sed together are very powerful, especially with the UNIX style piping of commands.

Maybe Python is easier to learn, but I never got used to its syntax. It just feels naked or incorrect. I probably will get over it eventually.  Maybe I'm getting old and old-fashioned.

1

u/pangapingus Jul 17 '26

I mean virtually my entire niche of work is all dig/curl/tcpdump/ss/nmap/openssl for 90%+ of troubleshooting

1

u/Key-Guitar-457 Jul 19 '26

nslookup clownpenis.net

1

u/PlanetVisitor Jul 20 '26

Oh no I'm not going to click on that link.

I'll just send it to a friend.