LESSON 8

Network Administration

Master network administration commands for connectivity, monitoring, security auditing, and remote access management.

Basic Networking

5 commands

Sends ICMP echo requests to a host.

$ termux-ping

Sends ICMP echo requests to a host.

$ termux-nping

Traces the route taken by packets to a destination.

$ termux-traceroute

Performs DNS lookups.

$ termux-dns-lookup

Retrieves WHOIS information for a domain.

$ termux-whois

Network Config

5 commands

Displays or configures network interfaces.

$ termux-ifconfig

Displays or configures network interfaces.

$ termux-ip

Displays or sets the system hostname.

$ termux-hostname

Displays or modifies the IP routing table.

$ termux-route

Displays and modifies the ARP cache.

$ termux-arp

Network Monitoring

5 commands

Displays network connections, routing tables, etc.

$ termux-netstat

Displays socket statistics.

$ termux-ss

Displays I/O statistics.

$ termux-iostat

Displays disk usage statistics.

$ termux-df

Captures and analyzes network packets.

$ termux-tcpdump

Security & Scanning

3 commands

Performs network discovery and security auditing.

$ termux-nmap

Configures kernel parameters at runtime.

$ termux-sysctl

Limits CPU usage of a process.

$ termux-cpulimit

Remote Access

5 commands

Initiates an SSH session.

$ termux-ssh

Mounts a remote filesystem over SSH.

$ termux-sshfs

Initiates a Telnet session.

$ termux-telnet

Initiates an FTP session.

$ termux-ftp

Retrieves files from the web using HTTP, HTTPS, or FTP.

$ termux-wget

💡 Network Admin Tips

  • • Use ping and traceroute to diagnose network connectivity issues
  • • Monitor network connections with netstat and ss for security auditing
  • • Configure network interfaces properly for optimal performance
  • • Use nmap carefully - ensure you have proper authorization before scanning networks
  • • DNS lookups and WHOIS commands help identify network infrastructure
  • • SSH and SSHFS provide secure remote access and file transfer
  • • tcpdump is powerful for packet analysis and network troubleshooting
  • • Combine multiple commands in scripts for comprehensive network monitoring
  • • Always follow network policies and ethical guidelines when using admin commands