Skip to content

Useful linux commandsΒΆ

pingΒΆ

Install apt install iputils-ping or apt-get update && apt-get install -y iputils-ping

Use ping ip_address

netstatΒΆ

Install apt install net-tools

  • View routing table
  • netstat -nr
  • Display network interface
  • netstat -ai
  • Show network connections
  • netstat -ant
  • Show network services
  • netstat -pnltu