Monday, April 27, 2009

Where is $PATH set up when Ubuntu boots?

The root path is set up in /etc/environment

You would normally set user PATH in ~/.bashrc with the following format:
Code:

export PATH=$PATH:$HOME/path_to_folder:$HOME/path_to_next_folder

No comments: