Unix Technical Forum

Meaning of "is hashed"

This is a discussion on Meaning of "is hashed" within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, What is the meaning of "is hashed" on the output of the type command ? p.ex. # type ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-05-2008, 10:07 AM
Alves
 
Posts: n/a
Default Meaning of "is hashed"

Hello,

What is the meaning of "is hashed" on the output of the type command ?

p.ex.

# type myscript
myscript is hashed (/usr/local/bin/myscript)

Cheers

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-05-2008, 10:07 AM
sllabres
 
Posts: n/a
Default Re: Meaning of "is hashed"

Alves wrote:
> Hello,
>
> What is the meaning of "is hashed" on the output of the type command ?
>
> p.ex.
>
> # type myscript
> myscript is hashed (/usr/local/bin/myscript)
>
> Cheers


Didn't find a reference, but hashed in this context mean that the
location of your script '/usr/local/bin' is stored in the running ksh
so that the ksh does not need to scan the entire path if you call
'myscript' again.

if you type 'hash' in ksh you'll get a list of currently hashed
programs paths.
e.g. ls=/usr/bin/ls

Bye, Stefan ... . . .

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:45 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com