Top 20+ Networking Commands for Network Professionals.pdf

infosectrain2 11 views 7 slides Aug 28, 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

Whether youโ€™re a seasoned network engineer or just leveling up your skills, these ๐Ÿ๐ŸŽ+ ๐ž๐ฌ๐ฌ๐ž๐ง๐ญ๐ข๐š๐ฅ ๐ง๐ž๐ญ๐ฐ๐จ๐ซ๐ค๐ข๐ง๐  ๐œ๐จ๐ฆ๐ฆ๐š๐ง๐๐ฌ are your go-to toolkit:

๐Ÿ”น ๐๐ข๐ง๐  & ๐“๐ซ๐š๐œ๐ž๐ซ๐จ๐ฎ๐ญ๐ž ...


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]