[oclug] set $PATH
bruce at computerbooksforless.com
Thu Jul 10 16:06:01 EDT 2003
On Thu, 10 Jul 2003 20:58:36 +0100
Matthew Wilcox <willy at debian.org> wrote:
> On Thu, Jul 10, 2003 at 03:42:14PM -0400, Bruce Harding wrote:
> > Actually I got this a little bit wrong I think. I think my line
> > should have been....
> > export PATH=$PATH:/opt/OpenOffice.org*/program:$PATH
> > I don't know if this makes any difference to the following posts?
> > This just one of several areas I trouble with. I have such trouble
> > getting my brain to understand the syntax.
> No, you had it right before.
> shell variables aren't too hard to understand. you create them
> and use them so:
> echo $foo
> your example is a case of using and assigning:
> so you end up appending ":bar" to the existing definition of foo.
> when experimenting with assigning variables, it's generally a good
> idea to practice on variables that aren't interpreted specially by the
> shell like PATH ;-)
Okay I think I understand. To make this permenant change I need to put
this in my .bashrc file?
Computer Books For Less
1642 Merivale Rd.
Ottawa ON K2G 4A1
Email: bruce at computerbooksforless.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://tux.oclug.on.ca/pipermail/oclug/attachments/20030710/5096e5a1/attachment.bin
More information about the OCLUG