LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-13-2011, 04:09 AM   #16
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,063

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381

These commands would probably have helped faster:

Code:
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, 04:23 AM   #17
catkin
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
Quote:
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, 05:19 AM   #18
PhilThompson
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 bradconte.com 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)
 
  


Reply


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


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

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