← 返回命令列表

Linux command

trip 命令

网络

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

常用示例

Trace route

trip [example.com]

Use ICMP

trip -p icmp [example.com]

Use UDP

trip -p udp [example.com]

Use TCP

trip -p tcp [example.com]

With DNS resolution

trip -r [example.com]

Chart view

trip --tui-chart [example.com]

说明

trip is a modern network diagnostic tool that combines traceroute functionality with a text-based user interface for real-time visualization. It continuously traces the network path to a destination, displaying hop-by-hop latency statistics in an interactive terminal display. The tool supports multiple protocols including ICMP, UDP, and TCP, allowing probing through different network paths and firewall configurations. A chart view provides latency visualization over time, making it easy to spot intermittent connectivity issues and jitter patterns. Reverse DNS resolution can be enabled to show hostnames for each hop. The continuous tracing mode keeps running and updating statistics, making it useful for ongoing network monitoring and troubleshooting.

参数

-p _PROTOCOL_
Protocol (icmp, udp, tcp).
-r
Reverse DNS.
--tui-chart
Chart display.
-m _HOPS_
Max hops.
-i _INTERVAL_
Probe interval.

FAQ

What is the trip command used for?

trip is a modern network diagnostic tool that combines traceroute functionality with a text-based user interface for real-time visualization. It continuously traces the network path to a destination, displaying hop-by-hop latency statistics in an interactive terminal display. The tool supports multiple protocols including ICMP, UDP, and TCP, allowing probing through different network paths and firewall configurations. A chart view provides latency visualization over time, making it easy to spot intermittent connectivity issues and jitter patterns. Reverse DNS resolution can be enabled to show hostnames for each hop. The continuous tracing mode keeps running and updating statistics, making it useful for ongoing network monitoring and troubleshooting.

How do I run a basic trip example?

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

What does -p _PROTOCOL_ do in trip?

Protocol (icmp, udp, tcp).