Networking commands in Termux help you connect with the internet and understand how your network is working. With these commands, you can check your internet speed, find your IP address, download files, and test connections easily.
Networking Commands List
| Command | Use | Example |
|---|---|---|
| ping | Check internet connection | ping google.com |
| curl | Fetch data from URL | curl https://example.com |
| wget | Download files | wget https://example.com/file.zip |
| ifconfig | Show network info | ifconfig |
| ip a | Show IP address | ip a |
| traceroute | Track network path | traceroute google.com |
| netstat | Network statistics | netstat -tuln |
| ss | Show open ports | ss -tuln |
| host | DNS lookup | host google.com |
| dig | Detailed DNS info | dig google.com |
| nslookup | Query DNS | nslookup google.com |
| whois | Domain information | whois google.com |
Networking commands help you understand and control your internet connection in Termux. These are very useful for troubleshooting and downloading files.
Quick Examples
Check internet connection:
ping google.comDownload a file:
wget https://example.com/file.zipCheck your IP:
ip aTrace network route:
traceroute google.com