Linux & the Command Line / Servers and scripts
Lesson 24 of 30
Networking commands
ip a shows your addresses, ping tests reachability, ss -tulpn shows listening ports, and curl fetches URLs.
Key points
- ip a
- ss -tulpn shows open ports
- curl -I shows HTTP headers
ip a
ping -c 3 1.1.1.1
sudo ss -tulpnQuiz · +10 XP
Which command shows which ports are listening on your machine?
Log in to save progress and earn XP.