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

Re: lost dig



On 19/02/2019 12:53, Claudio Kuenzler wrote:
> 
> 
>     On 2/19/2019 12:10 PM, tony wrote:
>     > In my fiddling with DNS, I installed (as su) a python package from
>     pypi
>     > called 'dig'. It turned out to not be what I expected, so I
>     abandoned it.
>     >
>     > However, now when I enter 'dig' on the command line, it runs this
>     python
>     > thing. So I uninstalled dig from python, using 'pip3 uninstall dig'.
>     > That seemed to work fine, but now when I type 'dig' at the terminal, I
>     > get bash: /usr/local/bin/dig: No such file or directory. Well,
>     that's OK
>     > because dig - the proper one - is at /usr/bin/dig.
>     >
>     > 'which dig' gives me '/usr/bin/dig/
>     >
>     > So, how do I now get the alias (if that's what it is) to point at the
>     > right file?
> 
> 
> 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!


Reply to: