-   SUSE / openSUSE (
-   -   Add path to $PATH variable (

alaios 04-19-2009 09:24 AM

Add path to $PATH variable
Hi everyone. I am trying to figure out how i can add the path /usr/sbin/ into the $PATH variable. I want this to be used from the normal account. I am bored settinh this manualy each time my computer starts so annny help would be appreciated

Zmyrgel 04-19-2009 09:40 AM


ccargo 04-19-2009 09:41 AM


You can put your path-command (that you usually set manually) in your shell config. file. If you're using bash you should have (or create) a .bashrc in your home directory. Other shells have similar files, Zsh has a .zshrc etc. It will be run when you start a terminal. If you don't want to restart your shell after editing the config file just type <code>source .bashrc</code>.

All times are GMT -5. The time now is 01:20 AM.