[SOLVED] $PATH. How to change my $PATH in Debian Linux

CPUlidster

New Member
Credits
72
I currently have a $PATH that echo's /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin:/home/<user_name>/.komodoide/12.0/XRE/state
I would like to remove /home/<user_name>/.komodoide/12.0/XRE/state
from my $PATH.
Is there a good descriptive website to help me with this. Or can I get help here.
I have Vim.
 
Last edited:


Tolkem

Well-Known Member
Credits
8,523
I would like to remove /home/<user_name>/.komodoide/12.0/XRE/state
If you don't want to use or aren't using the komodo IDE anymore, you have to remove it, it was installed for your user, that might just do the trick. You can also add in .bashrc file
Code:
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
 

CPUlidster

New Member
Credits
72
If you don't want to use or aren't using the komodo IDE anymore, you have to remove it, it was installed for your user, that might just do the trick. You can also add in .bashrc file
Code:
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
Yes I have removed komodo IDE.
I opened .bashrc file with vim. Went to insert mode & added (export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin) without brackets. Reverted back to command mode & :wq (saved and quit vim).
I logged out & restarted my computer. Checked my echo $PATH. Which was
/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin
I didnt want to muck up $PATH. Thanks for that.
 
Last edited:

wizardfromoz

Administrator
Staff member
Gold Supporter
Credits
18,447
G'day @CPUlidster - glad you got your problem sorted and nice work @Tolkem :)

Moving this to Command Line and putting a Solved on it.

Cheers

Wizard
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online

Members online


Top