Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Packages install

Status
Not open for further replies.

Deleted

Technical User
Jul 17, 2003
470
US
After installing a new package..

Let's say I just installed SUDO.

On the command line when I type
%sudo

the result is

sudo: Command not found.

I know I can just do
%/usr/local/sbin/sudo

---------------------------------------------

Question: Is there a way to refresh the filesystem without a reboot so that I don't have to add the full path to the file everytime I want to use it? I know rebooting will fix this but that is not possible in my situation.




 
i guess u're using C-shell (csh,tcsh..)
when you install new port, program etc. type
#rehash (or %rehash)
and it's available to you w/o rebooting the box.

hth
alex
 
you can also just logout of that shell. ie. close the xterm, or su but rehash is the best. basically your shell hasn't found it in your PATH yet. there is no need to reboot the box. just need to restart the shell.

Sera
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top