Adding To Path

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Aug 2 19:14:39 UTC 2006


beno <zope at 2012.vi> writes:

> Hi;
> I went to set env of my path to add another folder. Everything
> *seemed* to work fine (it added, I checked) until I shelled out and
> back in. Then it was gone! Here's what I tried:
>
> FreeBSD 5.3                    September 1, 1999
> FreeBSD 5.3
> server167# echo $shell
> /bin/csh
> server167# echo $path
> /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
> /usr/local/bin /usr/X11R6/bin /root/bin
> server167#
> server167# setenv PATH
> /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin:/usr/local/bin/ezmlm
> server167# echo $path
> /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
> /usr/local/bin /usr/X11R6/bin /root/bin /usr/local/bin/ezmlm
> server167# exit
> $ su
> Password:
> server167# echo $path
> /sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin
> /usr/local/bin /usr/X11R6/bin /root/bin
>
> So, what happened to my ezmlm dir? Please help.

Did you mean to use the "-m" option?


More information about the freebsd-questions mailing list