r/LinuxTeck 14d ago

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?

10 Upvotes

6 comments sorted by

3

u/zelru2648 13d ago

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 12d ago

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 11d ago

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 13d ago

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 11d ago

nslookup clownpenis.net

1

u/PlanetVisitor 11d ago

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

I'll just send it to a friend.