Top 20+ Networking Commands for Network Professionals.pdf

InfosecTrain4 10 views 7 slides Aug 27, 2025
Slide 1
Slide 1 of 7
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7

About This Presentation

Master Networking Like a Pro!

Whether you're a seasoned network engineer or just leveling up your skills, these 20+
essential networking commands are your go-to toolkit:

Complete Blog (Top 20+ Networking Commands) - https://www.infosectrain.com/blog/top-20-networking-commands/

Question for yo...


Slide Content

a INFOSEGTRAIN

FB) Educate, Excel. Empower

Top 20+ Networking
Commands for
Network. profesignals dh

Basic Connectivity and IP Commands
1. ping

O Checks connectivity to a remote host.
O ping 88.8.8

2. tracert / traceroute

© Displays the route packets take to a destination.
© Windows: tracert google.com

© Linux: traceroute google.com

ipconfig (Windows)

Displays IP, subnet, and gateway info.

60

ipconfig /all for full details

ifconfig (Linux/macOS - deprecated)
Shows and configures network interfaces.
ifconfig ethO

eos

a

. ip link show (Linux)

@ Modern replacement for ifconfig.

© ipa displays or manipulates network interfaces and their
associated IP addresses.

$

ig INFOSECTRAIN

DNS and Host Resolution

1. nslookup

O Queries DNS to find IP of a domain.

O nslookup google.com

2. dig

© More advanced DNS lookup tool (Linux/macOS)
© dig @8.8.8.8 google.com

3. host

© Another DNS query tool for domains/IPs.
O host google.com

Routing and Gateway
1. route

© Displays or modifies routing tables.
9 route print (Windows), route -n (Linux)

2. netstat

© Shows active connections, ports, and routing info.

© netstat -an

3. arp
© Displays ARP cache (MAC HIP mappings)
© arp-a

my INFOSECTRAIN

$

Name and Network Discovery
1. hostname

O Shows or sets the system hostname.
O hostname

2. nmap
© Scans networks and detects open ports/services.
O nmap -sP 192.168.1.0/24

3. netsh (Windows)

Advanced network config tool.
netsh wlan show profiles

. nbtstat

Shows NetBIOS over TCP/IP info.
nbtstat -n

4
o
o

$

Connection Testing and Port Scanning
1. telnet

O Tests connectivity to remote ports.
O telnet mail.server.com 25

2. nc / netcat
© Swiss army knife for TCP/UDP testing.
© nc -vz <host> <port>

3. Curl
@ Fetches data from URLs, tests HTTP endpoints.
© curl -I https:/example.com

4. wget
9 Downloads files via HTTP/FTP.
© wget http://example.com/file.zip

5. iperf3

O Measures network throughput
O iperf3 -c <server>

Firewall, Interfaces, and Diagnostics
1. netstat -s
O Displays per-protocol statistics.

tcpdump

Captures and analyzes packets.

»

tcpdump -i ethO

es
n
o

Displays socket stats (faster alternative to netstat).
ss -tuln

nmeli
CLI for managing NetworkManager in Linux.

Pee

nmcli device status

. ethtool

Displays Ethernet interface details.
ethtool ethO

nece

Others

© whois - Get domain registration information.
O mtr - Combines ping and traceroute.
© systemctl status network - Checks network service status on Linux.

$

Secure Your Future
with InfosecTrain!

# The skills of tomorrow,
mastered today.

@ infosectrain.com
EM [email protected]