I have system path
vickey@tb:~/work/sayonara$ echo $PATH
/usr/local/Trolltech/Qt-4.8.0/bin:/home/vickey/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/vickey/bin:/home/vickey/tunebasket/p2p/
vickey@tb:~/work/sayonara$ cd /usr/local/
I want to get rid of the first entry PERMANENTLY . Where is the system path being set ?
You should first start looking at:
/etc/environment
If it is not included there, take a look at:
/etc/profile
The next possible location depends on the shell you are using. All shells also have a default config file located in /etc like /etc/bash.bashrc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With