CLI:Basics Networking – Checking IP, Testing Internet with Ping
Congratulations — you’ve reached the final lesson of CLI:Basics!
By now, you have enough command-line skill to be comfortable working with Linux at a basic but real-world level.
Today, we’re wrapping the series by looking at basic networking troubleshooting commands — simple but powerful tools you’ll use all the time.
Let’s jump in:
🌐 Checking Your IP Address with ip
- Show full IP information:
ip address show
- Simplified (shortcuts work!):
ip a
- Add color for easier reading:
ip -c a
What you see:
- Local loopback address (
127.0.0.1
) - Ethernet adapter IP (ex:
192.168.x.x
) - Wireless adapter info (if present)
- MAC addresses and IPv6 addresses
📡 Testing Internet Connection with ping
- Ping a public IP (Google DNS):
ping 8.8.8.8
- Ping a website by name (testing DNS resolution): bashCopyEdit
ping google.com
Important differences:
- Linux: Continuous ping by default (Control+C to stop)
- Windows: Pings 4 times unless you specify otherwise
Optional: Limit the number of pings:
ping -c 3 google.com
Final Thoughts
Congratulations again — you’ve completed the full CLI:Basics series!
You now have the skills to:
- Navigate the Linux filesystem
- Manage files and permissions
- Monitor system processes
- Troubleshoot basic network issues
- Feel confident at the terminal
Everything beyond this point — CLI:Advanced and beyond — is optional.
But if you want to dive deeper, we’ll be ready for you!
👉 Like, subscribe, hit the notification bell — and if you made it through the full playlist, leave a comment and celebrate! You’ve earned it.