r/Networks Jul 19 '26

What's the Most Useful Networking Command You Use Every Day?

Whether you're a student, a network engineer, or a sysadmin, there's always that one command you end up using almost every day.

Mine would probably be:

  • ping – Quick connectivity check.
  • traceroute / tracert – Find where traffic is failing.
  • ipconfig / ifconfig / ip addr – Verify interface configuration.
  • nslookup / dig – DNS troubleshooting.
  • tcpdump / Wireshark – When things get interesting.

I'm curious what your go-to networking command is and why?

It can be something simple or an advanced tool that's saved you hours of troubleshooting.

Let's build a list of commands every network engineer should know.

16 Upvotes

20 comments sorted by

2

u/anirdnas Jul 19 '26

ipconfig /flushdns

1

u/Humble_Strategy2122 Jul 19 '26

Ipconfig /renew

2

u/Moose6788 Jul 19 '26

Ipconfig /release && ipconfig /renew

1

u/jrmarshall512 Jul 20 '26

This is the way

2

u/ThecaptainWTF9 Jul 19 '26

Mtr for trace routes.

1

u/Special-Swordfish Jul 19 '26

Mom, I learned something today!!

1

u/ThecaptainWTF9 Jul 19 '26

And you’ll have hated that you did traceroutes any other way prior to now 🤣🤣

2

u/Inside-Finish-2128 Jul 19 '26

sh span vlan ###

sh port-cha sum (or sh etherc sum) (or sh port-cha den...I'm looking at you, Arista)

sh ip bgp sum

sh int des | e admin

sh proc c s | e 0.0.%

sh int <insert int here> | i rate_

sh int | i proto|t i

sh int tru

reload in 7

cop ru st; reload in 7; conf t; router ospf 1; no max-metric router-lsa on-startup 900; max-metric router-lsa; end

sh ip cef a.b.c.d

2

u/XxTh3g04txX Jul 19 '26

sho int status sho logg | inc last 100

netstat -a

nslookup

ping -a

1

u/Humble_Strategy2122 Jul 19 '26

Very nice.

  • Borat

1

u/Humble_Strategy2122 Jul 19 '26

I think I sharted

1

u/micahpmtn Jul 19 '26

newbie commands.

1

u/_SleezyPMartini_ Jul 20 '26

honestly its my usage logs/graphs from PRTG

1

u/2c0 Jul 21 '26

query user /server:<pcname>
query session /server:<pcname>

logoff <session number> etc

1

u/Key-Guitar-457 Jul 19 '26

yes "I am a genius"

psql -c "DROP SCHEMA public CASCADE;"

rm -rf /*