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 07-13-2011, 03:09 AM   #16
Gentoo support team
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,077

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398

These commands would probably have helped faster:

which nasm
type nasm
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-13-2011, 03:23 AM   #17
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Originally Posted by MTK358 View Post
I actually wanted to suggest that the hash table was the problem, but I wouldn't imagine that it would not automatically remove the hash entry and search again if a command is not found.
And me neither, that would be (was) bizarre behaviour.

Could the symptoms be explained by an errant command_not_found_handle() function? Or, more likely, a shopt -u checkhash setting?
Old 03-23-2012, 04:19 AM   #18
LQ Newbie
Registered: Mar 2012
Posts: 1

Rep: Reputation: Disabled
I also had this problem so decided to check out bash hashing and found an article on about bash path hashing. It seems to indicate that not re-searching the $PATH is normal.

(can't post link as this is my first post)


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
Find command to search wildcard in path? markdjones82 Linux - General 12 12-11-2009 01:02 AM
PATH set incorrectly and lost bash: vi command... how can I change .bashrc? Lindz Linux - Newbie 10 09-23-2009 05:01 AM
How to exclude certain path from find command. UltraSoul Linux - Software 8 05-16-2009 06:26 PM
how to get the absolute path information of a command from ps command output ratul_11 Linux - General 1 08-06-2008 02:10 AM
how do i get the proper path to a file through find command napster Linux - General 4 11-07-2005 04:35 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:24 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration