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

CPUlidster

New Member
Joined
Aug 9, 2019
Messages
8
Reaction score
1
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:


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
 
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:
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
 

Members online


Top