My GCSE coursework in linux is asking me to do this:
Whenever I attempt it it says this:
So do I just need to install the packages and it will work?
The default command for this purpose in Ubuntu is tracepath
.
However you can install traceroute
too by running
sudo apt install traceroute
as you can see in the error message.
Install traceroute
by using the following command :
sudo apt-get install inetutils-traceroute
However you can use the default command in linux which is tracepath
, but it is not as flexible as traceroute
. In traceroute
we can choose between TCP, UDP, ICMP data formats and gives us ability to change some options. Thus it requires root privileges.
traceroute
it would seem tracepath
is irrelevant to this question.
Apr 24, 2017 at 22:34
man traceroute
will tell all.