environment

Modifying PATH variable in Ubuntu

sudo gedit ~/.bashrc

Add this line to the file (or modify if the file already has an entry for PATH):

PATH=[your path]:”${PATH}”

Save the file

Execute to refresh the file without logging out:

source .bashrc

Tags: , ,

Monday, January 25th, 2010 Linux No Comments