<s>
hash	B-Device
is	O
a	O
command	B-Application
on	O
Unix	B-Application
and	O
Unix-like	B-Operating_System
operating	I-Operating_System
systems	I-Operating_System
that	O
prints	O
the	O
location	O
information	O
for	O
the	O
commands	O
found	O
.	O
</s>
<s>
The	O
command	B-Application
has	O
also	O
been	O
ported	O
to	O
the	O
IBM	B-Application
i	I-Application
operating	B-General_Concept
system	I-General_Concept
.	O
</s>
<s>
When	O
the	O
user	O
gives	O
a	O
command	B-Application
,	O
the	O
shell	O
searches	O
for	O
the	O
command	B-Application
in	O
the	O
path	O
specified	O
in	O
the	O
PATH	B-Application
environmental	I-Application
variable	I-Application
and	O
stores	O
the	O
location	O
in	O
the	O
hash	B-Device
.	O
</s>
<s>
This	O
command	B-Application
can	O
be	O
used	O
to	O
search	O
for	O
the	O
command	B-Application
given	O
.	O
</s>
<s>
The	O
command	B-Application
is	O
built	O
into	O
the	O
shell	O
.	O
</s>
<s>
C	B-Operating_System
shell	I-Operating_System
implements	O
this	O
command	B-Application
in	O
a	O
different	O
way	O
.	O
</s>
<s>
This	O
command	B-Application
returns	O
the	O
following	O
exit	O
values	O
:	O
</s>
<s>
Print	O
the	O
hash	B-Device
table	O
.	O
</s>
<s>
Searches	O
for	O
command	B-Application
cat	O
in	O
the	O
path	O
specified	O
by	O
PATH	B-Application
environmental	I-Application
variable	I-Application
;	O
if	O
found	O
,	O
adds	O
it	O
to	O
the	O
hash	B-Device
.	O
</s>
