export which is correct syntax

Tim ignored_mailbox at yahoo.com.au
Sat Jan 4 12:07:48 UTC 2014


Frank Murphy:
> > 1: export TMPDIR=/var/tmp
> > 2: export TMPDIR=$TMPDIR:/var/tmp

Suvayu Ali:
> Depends on what you want to do.  If you want to overwrite the variable,
> use (1).  If you want to add (prepend) to the variable, use (2).

Wouldn't that actually be an append - add onto the end of the existing
variables, as opposed to insert before the existing variables (prepend).

-- 
[tim at localhost ~]$ uname -rsvp
Linux 3.9.10-100.fc17.x86_64 #1 SMP Sun Jul 14 01:31:27 UTC 2013 x86_64

All mail to my mailbox is automatically deleted, there is no point
trying to privately email me, I will only read messages posted to the
public lists.

George Orwell's '1984' was supposed to be a warning against tyranny, not
a set of instructions for supposedly democratic governments.





More information about the users mailing list