hash: Remember the full pathname of a name argument

Remember the full pathnames of commands specified as name arguments,
so they need not be searched for on subsequent invocations.
SYNTAX
hash [-r] [-p filename] [name]

OPTIONS
-r Reset (causes the shell to forget all remembered locations)
-p Use filename as the location of name (don?t search $PATH)
The commands are found by searching through the directories listed in $PATH.


If no arguments are given, information about remembered commands is printed.


The return status is zero unless a name is not found or an invalid option is
supplied.
This is a BOURNE shell command.

"I spent most of the eighties, most of my life, riding around in somebody
else?s car, in possession of, or ingested of, something illegal, on my way from
something illegal to something illegal with many illegal things happening all
around me" - Iggy Pop

Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (2 + 1) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 10.04.2009
Views: 1474
Item date: 15.05.2009
Views: 1642
Item date: 09.03.2009
Views: 1666
Item date: 27.09.2009
Views: 2233
Item date: 01.12.2011
Views: 148
Item date: 23.08.2009
Views: 407
Item date: 10.04.2009
Views: 593
Item date: 09.03.2009
Views: 1562
Item date: 10.04.2009
Views: 813
Item date: 19.07.2009
Views: 469