[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vps-mail] savelogs question



At 22:18 2003-11-27, I wrote:
>Only problem left is now (I hope :)) that I can't simply run 'savelogs --help' but need to give the full path to savelogs.
>I assume that's a "path" problem but I'm a Unix baby...
>
>I *think* the path is set in .cshrc - it has this line:
>set path = (~/bin /bin /usr/bin /usr/X11/bin /usr/contrib/bin /usr/contrib/mh/bin /usr/games /usr/local/bin)
>Since I noted ~/bin in there, I tried adding ~/usr/local/bin but that didn't help.
>Any hints? Full path instead of ~ maybe? Or am I looking at the wrong place?

Problem solved.

I tried rehash and even unhash followed by rehash, but that also didn't make any difference; and setenv consistently showed the old value of PATH (path).

After a thinking break I had a little brainwave: logged off and logged on again (reasoning that would "restart" the shell), and then did setenv - hey presto, there's my new value.

And now I can do 'savelogs --help'

Phew!

Still interested in any recommendations for a FreeBSD book. I have an old UNIX in a nutshell which is often not very helpful. (It did help a bit now with its section on C shell.)


-- 
Marjolein Katsma

======================================================================
This is <vps-mail@xxxxxxxxxxxx>       <http://www.perlcode.org/lists/>
======================================================================


Main Index | Thread Index
Match: Format: Sort by:
Search: