Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #205510

Re: lost dig

From Claudio Kuenzler <ck@claudiokuenzler.com>
Newsgroups linux.debian.user
Subject Re: lost dig
Date 2019-02-19 13:00 +0100
Message-ID <xtce6-4uJ-13@gated-at.bofh.it> (permalink)
References <xtbBn-4im-5@gated-at.bofh.it> <xtbL3-4lj-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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.
You might also have to logout and login again to clear your environment.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

lost dig tony <lists@vanderhoff.org> - 2019-02-19 12:20 +0100
  Re: lost dig john doe <johndoe65534@mail.com> - 2019-02-19 12:30 +0100
    Re: lost dig Claudio Kuenzler <ck@claudiokuenzler.com> - 2019-02-19 13:00 +0100
      Re: lost dig tony <lists@vanderhoff.org> - 2019-02-19 13:10 +0100
        Re: lost dig <tomas@tuxteam.de> - 2019-02-19 13:20 +0100
    Re: lost dig tony <lists@vanderhoff.org> - 2019-02-19 13:00 +0100
      Re: lost dig Claudio Kuenzler <ck@claudiokuenzler.com> - 2019-02-19 13:10 +0100
  Re: lost dig Martin <keine-eile@online.de> - 2019-02-19 13:40 +0100
    Re: lost dig Martin <keine-eile@online.de> - 2019-02-19 13:50 +0100
      Re: lost dig <tomas@tuxteam.de> - 2019-02-19 14:00 +0100
  Re: lost dig Mike McClain <mike.junk.46@att.net> - 2019-02-19 17:10 +0100

csiph-web