Command Generator

Build copy-paste ping, traceroute, and port-scan commands for Linux, macOS, and Windows.

Important: These are command generators only. No commands execute on our servers. Copy and run them in your own terminal.

Operating system

Command type

Quick guide

  • Ping: tests connectivity
  • Traceroute: maps network path
  • Port Scan: checks open ports

Ping

Test connectivity and measure latency.

Generated command
$ ping -c 4 8.8.8.8

What it does: Sends ICMP echo requests to measure round-trip time and packet loss.

Flag reference

  • -cCount — number of packets to send before stopping.

💡 Pro tip: Use Ctrl+C to stop a continuous ping on Linux/macOS. Typical RTT is under 50 ms on LAN, under 100 ms regionally.