[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: lost dig



On Tue, Feb 19, 2019 at 01:01:36PM +0100, tony wrote:
> On 19/02/2019 12:53, Claudio Kuenzler wrote:

[...]

> > First check with "alias" if there is really still some alias defined
> > which points to /usr/local/bin/dig.
> 
> No alias.
> 
> > You might also have to logout and login again to clear your environment.
> > 
> Woo, yes, of course. That works fine. Many thanks!

This was your shell's cached association (name -> full-path). If your shell
is bash, then 'hash' is the builtin to use when you want to inspect/modify
that cache.

For example, "hash -r" or "hash -d dig" might have been sufficient in the
above situation. Try hash -l to list all current entries.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


Reply to: