Re: Can't run a port right after an install

2003-10-12 Thread Kent Stewart
On Saturday 11 October 2003 12:54 pm, jason dictos wrote:
 Hi All,

I've been noticing that whenever I install a port, I can't ever
 run the executable right off the bat, instead I have to close a
 consoel and re-open one in order to get the program to be in my (I am
 guessing) search path.

 Why is that? Is there any way around that?


You need to rehash to have the system re-establish the files in your 
path.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't run a port right after an install

2003-10-12 Thread Rob
Assuming tcsh, the command is:

  rehash  Causes  the internal hash table of the contents of the directo-
  ries in the path variable to be recomputed.  This is needed  if
  new  commands  are  added  to directories in path while you are
  logged in.  This should be necessary only if you  add  commands
  to  one  of  your  own  directories, or if a systems programmer
  changes the contents of one of the  system  directories.   Also
  flushes the cache of home directories built by tilde expansion.

Take a few minutes to browse the manpage for tcsh - lots of interesting
stuff.

- Original Message - 
From: jason dictos [EMAIL PROTECTED]
Subject: Can't run a port right after an install


 Hi All,
 
I've been noticing that whenever I install a port, I can't ever run the 
 executable right off the bat, instead I have to close a consoel and re-open 
 one in order to get the program to be in my (I am guessing) search path.
 
 Why is that? Is there any way around that?
 
 Thanks,
 -Jason
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]