adding a path

Stephen R Laniel steve at
Wed Nov 15 15:19:40 UTC 2006

On Wed, Nov 15, 2006 at 10:21:56AM -0500, Stephen Brown Jr wrote:
> How do I add a path to my login? For example, I want to add /opt as I have some
> stuff installed there that I want to be able to execute?

If you're running bash, as I presume you are, then you edit
~/.bashrc and add the following line:

export PATH=$PATH:/opt


Stephen R. Laniel
steve at
Cell: +(617) 308-5571
PGP key:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <>

More information about the ubuntu-users mailing list