fortune
BSD fortune program with fortunes tailored for OS X
Version: 1.3
"rehash"???
Feedback Type: Troubleshooting Report
Contributed by: awiseman Sunday, June 26 2005 @ 01:32 PM PDT
Product Platform: MacOSX
Used Product For: Less than a month
The read me says to use the shell built-in command "rehash" after doing the "make install". On my system (using bash as my shell), typing rehash just results in "-bash: rehash: comand not found". What is this command for, and why can't I execute it?
System Info:
Comments
"rehash"??? - go_jesse
in bash, you just use the command# hash -r
to get the path "cache" to be cleared out so anything new that you installed in your path with the same (or replacing) name will be picked up by the shell.
Tuesday, May 01 2007 @ 05:09 PM PDT
"rehash"??? - 8675309_jane
rehash is only necessary if you're using a C-style shell like tcsh (it basically tells your shell to re-scan your paths for new binaries). rehash is neither necessary nor supported for bash.Reply to This
Saturday, November 18 2006 @ 01:08 PM PST