bad path in bash

Brian McKee brian.mckee at gmail.com
Mon Mar 23 21:36:02 UTC 2009


On Mon, Mar 23, 2009 at 3:40 PM, Nils Kassube <kassube at gmx.net> wrote:
> Walton Hoops wrote:
>> That said (and you're going to hit me for this), a restart of the server
>> cleared up the problem.

{SMACK!}

> I would assume you had started mysql previously from the version
> installed from the Ubuntu repository. Then bash still knew the cached
> path to the now uninstalled executable. Try "hash -l" to find out which
> commands are cached. And with "hash -r" you can clear the list.

Huh.  Didn't know about that one. Thanks!

  help hash

for those following along at home.  It's a bash builtin and thus
doesn't have a man page.

Brian




More information about the ubuntu-users mailing list