-1

what the title says
for example,

> where dockutil
/opt/homebrew/bin/dockutil
/opt/homebrew/bin/dockutil
/usr/local/bin/dockutil

how would you remove the redundant installation(s)

2
  • 1
    What is the output of running brew info dockutil command?
    – Nimesh Neema
    Jun 18 at 21:21
  • 2
    How did you INSTALL the copy in /usr/local/bin ? Jun 18 at 22:37

1 Answer 1

1

Assuming that the file you want to delete in /usr/local/bin/ is the actual file:

cd /usr/local/bin/
sudo rm dockutil

Edit - This will work on symbolic links as well.

2
  • This works even if it is a symbolic link.
    – nohillside
    Jun 24 at 6:18
  • Ah, yes, you are correct, @nohillside.
    – Jaxon
    Jun 26 at 7:12

Not the answer you're looking for? Browse other questions tagged .