For cPanel users to be able to use the traceroute command via terminal, traceroute has to be installed on the server and enabled in WHM settings.
Step 1. Install traceroute
Ubuntu:
apt-get install traceroute
CentOS:
yum install traceroute
![Enable traceroute in cPanel image 18 1024x354 - Enable traceroute in cPanel](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/11/image-18.png?resize=736%2C254&ssl=1)
Step 2. Enable it under WHM > Security Center > Traceroute Enable/Disable
![Enable traceroute in cPanel image 19 1024x384 - Enable traceroute in cPanel](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/11/image-19.png?resize=736%2C276&ssl=1)
that’s it, now users can use the traceroute command in the cPanel terminal:
![Enable traceroute in cPanel image 20 - Enable traceroute in cPanel](https://i0.wp.com/pcx3.com/wp-content/uploads/2022/11/image-20.png?resize=736%2C277&ssl=1)