*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> hash (1)              
Title
Content
Arch
Section
 

hash(1)

Contents


NAME    [Toc]    [Back]

       hash - Remembers or reports utility locations

SYNOPSIS    [Toc]    [Back]

       hash [utility]

       hash -r

STANDARDS    [Toc]    [Back]

       Interfaces  documented  on  this reference page conform to
       industry standards as follows:

       hash:  XCU5.0

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

OPTIONS    [Toc]    [Back]

       Forgets all previously remembered utility locations.

OPERANDS    [Toc]    [Back]

       The  name of a utility to be searched for and added to the
       list of remembered locations.  If utility contains one  or
       more slashes, the results are unspecified.

DESCRIPTION    [Toc]    [Back]

       The  hash  utility affects the way the current shell environment
  remembers  the  locations  of  utilities   found.
       Depending  on  the  arguments  specified,  it adds utility
       locations to its list of remembered locations or it purges
       the contents of the list.

       When  no arguments are specified, hash reports on the contents
 of the list.  This list consists of those  utilities
       named in previous hash invocations that have been invoked,
       and those invoked and found  through  the  normal  command
       search  process.  This list includes the path name of each
       utility in the list of remembered locations for  the  current
 shell environment.

NOTES    [Toc]    [Back]

       The use of hash with utility names is unnecessary for most
       applications, but may provide a  performance  improvement.
       The  effects  of hash -r can also be achieved by resetting
       the value of PATH.

RESTRICTIONS    [Toc]    [Back]

       If hash is called in a separate utility execution environment,
  such as one of the following it will not affect the
       command search process of the caller's environment.  nohup
       hash  -r find . -type f | xargs hash Utilities provided as
       built-ins to the shell are not reported by hash.

EXIT STATUS    [Toc]    [Back]

       The following exit values are returned: Successful completion.
  An error occurred.





ENVIRONMENT VARIABLES    [Toc]    [Back]

       The  following  environment variables affect the execution
       of hash: Provides a default value for  the  internationalization
 variables that are unset or null. If LANG is unset
       or null, the corresponding value from the  default  locale
       is  used.   If  any  of the internationalization variables
       contains an invalid setting, the  utility  behaves  as  if
       none  of the variables had been defined.  If set to a nonempty
 string value, overrides the values of all the  other
       internationalization variables.  Determines the locale for
       the interpretation of sequences of bytes of text  data  as
       characters  (for example, single-byte as opposed to multibyte
 characters in arguments).  Determines the locale that
       should  be used to affect the format and contents of diagnostic
 messages written to standard error.  Determines the
       location  of  message  catalogues  for  the  processing of
       LC_MESSAGES.  Determines the location of name.

SEE ALSO    [Toc]    [Back]

      
      
       Commands:  command(1), type(1)

       Standards:  standards(5)



                                                          hash(1)
[ Back ]
 Similar pages
Name OS Title
espreport IRIX 0espreport is a utility provided for viewing various reports from ESP on the command line. This utility bypass
hash IRIX remember or report utility locations
faked Linux daemon that remembers `fake' ownership/permissions of files manipulated by fakeroot processes.
iostat Tru64 Reports I/O statistics
perlbug OpenBSD how to submit bug reports on Perl
amsend IRIX mail availmon reports
perlbug Linux how to submit bug reports on Perl
perlbug IRIX how to submit bug reports on Perl
amnotify IRIX email availability and diagnosis reports
ulimit Tru64 Sets or reports a resource limit
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service