Unfamiliar with it, I ran `man dns-fix`. No result. `dns-fix -h`. Again, nothing. Ditto for `dns-fix --help`. Finally, after running `dns-fix` alone, with no arguments and receiving no response in the way of errors and usage, I opened the file to see what it contained.
Code: Select all
$ which dns-fix /usr/bin/dns-fix $ less `which dns-fix` #!/bin/bash sudo cp /usr/share/linuxmint/mintsystem/templates/resolv.conf /etc/resolv.conf
- It's not only undocumented, it doesn't even have usage.
- It invokes sudo on the part of the user.
- It overwrites a system configuration file without warning.