Return to BSD News archive
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!sdd.hp.com!uakari.primate.wisc.edu!ames!agate!doc.ic.ac.uk!uknet!glasgow!sinclair From: sinclair@dcs.glasgow.ac.uk (Duncan Sinclair) Newsgroups: comp.unix.bsd Subject: Re: binaries are unavailable when moved to /usr/bin until re-logon Message-ID: <BuzpEM.9HJ@dcs.glasgow.ac.uk> Date: 22 Sep 92 17:18:21 GMT References: <1992Sep21.175158.25399@Saigon.COM> <D496JN@mailgzrz.tu-berlin.de> <ellis.717163328@nova> Organization: Glasgow University Computing Science Dept. Lines: 26 ellis@nova.gmi.edu (Stew Ellis) writes: >jaenicke@emserver.ee.tu-berlin.de (Lutz Jaenicke) writes: >>In article <1992Sep21.175158.25399@Saigon.COM> David.Fox@Saigon.COM writes: >>> [[ Why can't I execute newly installed programs? ]] >>Try rehash, ..... >Or use a Bourne shell related shell such as bash, ksh or zsh (not sh). >These shells offer many of the same features as tcsh, but do not hash the >path, therefore they re-search the path each time you enter a command line. bash, ksh, zsh and modern sh all hash their path. The difference is that they will go to the disk when the hashed path fails. >There used to be a big win for having the hash, but now computers are at >least an order of magnitude faster. It still is, with memory cheap, and disks slow (not to mention NFS, and servers that vanish), hashing is very much a positive thing in this modern age. -- Duncan Sinclair | Try one sinclair@dcs.glasgow.ac.uk Computing Science Research Student | of these: sinclair@uk.ac.glasgow.dcs University of Glasgow |..!mcsun!ukc!uk.ac.glasgow.dcs!sinclair --- Rave Culture: Don't techno for an answer. ---