LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03:09 AM   #16
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405

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, 03:23 AM   #17
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
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, 04: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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:12 AM.

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
Open Source Consulting | Domain Registration