question

mitch avatar image
mitch asked mitch answered

Where is iTest & iTestRT Paths set in linux?

I've installed version 4.3 and 4.4 on an Ubuntu Linux system and the PATH created is incorrect. I changed the installation location, at time of install, to be 'Spirent' instead of 'Spirent Communications' but the PATH built is still saying 'Spirent Communications'. Also, when i Uninstalled 4.3 the path is still there for 4.3. Here's the current PATH. $ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/mcrowell/Spirent/iTest_4.4:/home/mcrowell/Spirent/iTestRT_4.4/iTestRT:/var/lib/gems/VERSION/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/mcrowell/Spirent Communications/iTest_4.3:/home/mcrowell/Spirent Communications/iTest_4.3/iTestRT:/home/mcrowell/Spirent Communications/iTest_4.4:/home/mcrowell/Spirent Communications/iTest_4.4/iTestRT $ I prepended PATH to with the correct iTest and ITestRT paths as a workaround but I can't find where iTest is populating the PATH environment variable so i can fix this correctly and permanently. I've checked /etc/bash.bashrc, etc/login.defs, /etc/environment, /etc/profile, and many more places. I'm not sure where else to search to find where the path is being modified.
iTestiTest Runtime (itestrt)Linux
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

mitch avatar image
mitch answered
Thanks for your response. That's it. I somehow missed .profile in my early searches.
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

MSmith avatar image
MSmith answered
Check ~/.profile
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.