← 返回命令列表

Linux command

trippy 命令

网络

复制后可按需替换文件名、目录或参数。

常用示例

Trace route to a host

trip [example.com]

Use TCP protocol for tracing

trip [example.com] -p tcp

Use UDP protocol on a specific port

trip [example.com] -p udp --target-port [53]

Set maximum number of hops (TTL)

trip [example.com] --max-ttl [30]

Trace multiple targets simultaneously

trip [example.com] [example.org]

说明

trippy combines the functionality of traceroute and ping into a single tool with a real-time TUI interface for network path analysis. It supports multiple tracing protocols (ICMP, UDP, TCP), IPv6, GeoIP visualization, and advanced ECMP strategies. Runs on Linux, BSD, macOS, and Windows.

参数

-p, --protocol _PROTOCOL_
Tracing protocol: icmp (default), udp, or tcp.
--target-port _PORT_
Target port for UDP/TCP tracing.
--source-port _PORT_
Source port for UDP/TCP tracing.
-i, --interface _IFACE_
Network interface to use.
--max-ttl _N_
Maximum number of hops.
--first-ttl _N_
Starting TTL value.
-a, --addr-family _FAMILY_
Address family: ipv4, ipv6, ipv4-then-ipv6, or ipv6-then-ipv4.
-r, --dns-resolve-method _METHOD_
DNS resolution method: system, resolv, google, or cloudflare.
--tui-preserve-screen
Preserve screen content on exit.

FAQ

What is the trippy command used for?

trippy combines the functionality of traceroute and ping into a single tool with a real-time TUI interface for network path analysis. It supports multiple tracing protocols (ICMP, UDP, TCP), IPv6, GeoIP visualization, and advanced ECMP strategies. Runs on Linux, BSD, macOS, and Windows.

How do I run a basic trippy example?

Run `trip [example.com]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -p, --protocol _PROTOCOL_ do in trippy?

Tracing protocol: icmp (default), udp, or tcp.