linux-l: rehash (was: bashrc neu einlesen)

Jens Dreger jens.dreger at physik.fu-berlin.de
Di Jun 6 21:32:23 CEST 2000


On Tue, Jun 06, 2000 at 08:45:56PM +0200, Robin S. Socha wrote:
> * Philipp Grau <phgrau at ZEDAT.FU-Berlin.DE> writes:
> > On Tue, Jun 06, 2000 at 08:45:51AM +0200, Ulrich Wiederhold wrote:
> 
> > alias new 'source $HOME/.bashrc; source $HOME/.login; rehash'
> 
> Was ist rehash? Ich kenne nur hash -r.

Same thing, just tcsh. man tcsh ->

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

Gruss,

Jens.



Mehr Informationen über die Mailingliste linux-l