Command not in PATH when just installed?

Dan Nelson dnelson at allantgroup.com
Thu Sep 15 10:56:00 PDT 2005


In the last episode (Sep 15), Ugo Bellavance said:
> 	I'm new on this list.  I tried looking at the archive, but I
> didn't know how to formulate my search.  Here is my question:
> 
> I install a package using pkg_add. Then I try running the command,
> but it doesn't work.  I logout, I login, then it works.  Is this a
> FAQ or a setting?

Some shells cache the command list in PATH for performance.  Try
running "rehash" and see if the command appears.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list