adding a path

Stephen R Laniel steve at laniels.org
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

Cheers,
Steve

-- 
Stephen R. Laniel
steve at laniels.org
Cell: +(617) 308-5571
http://laniels.org/
PGP key: http://laniels.org/slaniel.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20061115/057ed055/attachment.pgp>


More information about the ubuntu-users mailing list