Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-30-2011, 10:30 PM   #1
Registered: Jul 2004
Location: Chennai, India
Posts: 948

Rep: Reputation: 216Reputation: 216Reputation: 216
Result of type command is hashed and shows another path in brackets.

I came across this reult of the type command (hashed) in another post. (see below).

fraespappp8:/data/apps > type is hashed (/data/apps/pnbgstk/publication/
This (result = hashed) is new to me.

I wonder which kernel/distro/shell it is from.

Old 05-31-2011, 02:01 AM   #2
Senior Member
Registered: Jan 2005
Location: Melbourne, Australia
Distribution: Debian Buster (Fluxbox WM)
Posts: 1,390
Blog Entries: 52

Rep: Reputation: 359Reputation: 359Reputation: 359Reputation: 359
Shells such as bash and dash have this. It is telling you that the command has been run before, so the shell has cached the path (which saves the shell having to search the directories in the path for the command every time it is used). The hash only survives the life of the shell.

type ls
ls is /bin/ls
type ls
ls is hashed (/bin/ls)

Last edited by neonsignal; 05-31-2011 at 02:06 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Speed shows incorrect result? SHENGTON Linux - Networking 11 02-10-2011 12:54 AM
[SOLVED] Grep for the result of a command within the result of another command jasonws Programming 6 11-18-2010 02:39 PM
How to pass the result of a command to another command (like grep) desb01 Programming 4 06-25-2009 12:09 PM
type sudo command then i cant type in a password turoblaztr Linux - General 5 01-14-2007 09:58 AM
what's the "hashed" after a type command? edenCC Linux - General 5 12-11-2006 01:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:22 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration