Quick starttraceroute
Command, used to list all nodes that traverse to the host
When you try to access a host on the Internet, you will pass through the home router and then reach the ISP network, which in turn will pass through its own upstream network router, and so on, until you finally reach the host.
Have you ever wondered what steps your data package needs to perform?
Thistraceroute
For this order.
You call
traceroute <host>
It will collect all the information (slowly) as the packet is transmitted.
In this example, I tried to passtraceroute flaviocopes.com
:
Not every router that passes by will return information to us. under these circumstances,traceroute
print* * *
. Otherwise, we can see the hostname, IP address and some performance indicators.
For each router, we can see 3 samples, which means that traceroute will try 3 times by default to give you a better idea of the time to reach it. This is why it takes so long to executetraceroute
Than simply do oneping
To that host.
you can use it-q
Options:
traceroute -q 1 flaviocopes.com
Thistraceroute
This command can be used in Linux, macOS, WSL and wherever you have a UNIX environment
Download mine for freeLinux Command Manual
More cli tutorials:
- Bash shell
- Introduction to Bash Shell Script
- Fish shell
- Shell, monitor file content
- How to exit Vim
- UNIX editor
- UNIX file system commands
- Unix Shell Tutorial
- How to set an alias in macOS or Linux Shell
- Homemade practical guide
- How to fix XCRUN invalid active developer path error in MacOS
- Getting Started
- Introduction to Linux
- How to find the process that is using the port
- Linux command: mkdir
- Linux command: cd
- Linux command: pwd
- Linux command: rmdir
- Linux command: ls
- Linux command: mv
- Linux command: cp
- Linux commands: less
- Linux command: tail
- Linux command: touch
- Linux command: cat
- Linux command: find
- Linux command: ln
- Linux command: ps
- Linux command: echo
- Linux command: top
- Linux command: kill
- Linux command: killall
- Linux command: alias
- Linux command: job
- Linux command: bg
- Linux command: fg
- Linux command: Type
- Linux command: where
- Linux command: whoami
- Linux command: who
- Linux command: clear
- Linux command: su
- Linux command: sudo
- Linux command: chown
- Linux command: chmod
- Linux command: passwd
- Linux command: open
- Linux command: wc
- Linux commands: history
- Linux command: du
- Linux command: umask
- Linux command: grep
- Linux command: man
- Linux command: uname
- Linux commands: sort
- Linux command: uniq
- Linux command: diff
- Linux command: nohup
- Linux command: df
- Linux command: xargs
- Linux command: gzip
- Linux command: gunzip
- Linux command: ping
- Linux command: traceroute
- Linux command: tar
- Linux command: export
- Linux command: crontab
- Linux command: dirname
- Linux command: base name
- Linux command: printenv
- Linux command: env
- A short guide to the ed editor
- vim short guide
- A brief guide to emacs
- A brief guide to Nano
- Linux, no space left on the device
- How to use Netcat