0

Linux常用命令-65:traceroute

 1 year ago
source link: https://xugaoxiang.com/2022/06/19/linux-cmds-65-traceroute/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

traceroute 命令用于追踪数据包在网络上的传输路径,它默认发送的数据包大小是40字节。通过这个命令,我们可以知道信息从你的计算机到互联网上的主机是走的什么路径。

语法格式:traceroute [参数] [域名或者IP]

常用参数:

52f77fb5e6d6d11a.png
# 追踪数据包到网站的传输路径
traceroute https://xugaoxiang.com

# 设置数据包的个数
traceroute -q 4 https://xugaoxiang.com

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK