News for hackers. Stuff that matters.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by LeoPanthera on Sunday April 17, 2022 @09:20PM (#31066288)
See also "dog" which I've been using for a while, works well. https://github.com/ogham/dog

I actually already have a "q" alias, I think single-letter aliases are probably quite common. Are there many other well-known utilities with a single-letter name?

Edit: Turns out I have one installed, "z", a universal archiver front-end. https://legacy.cs.indiana.edu/~kinzler/z/

Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by dustyharddrive on Sunday April 17, 2022 @09:35PM (#31066381)
I use a “z” as well, but it’s a global cd tool. https://github.com/rupa/z/
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by memorable on Wednesday April 20, 2022 @10:30AM (#31097485)
I use Zoxide[0], which incidentally also uses "z" as its main command, and it's also a "cd" tool.

[0]: https://github.com/ajeetdsouza/zoxide

Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by ilikepi on Sunday April 17, 2022 @10:27PM (#31066653)
> Are there many other well-known utilities with a single-letter name?

There is a `w` command. It's kind of like a mix of `who` and `uptime`.

https://linux.die.net/man/1/w

Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by LeoPanthera on Monday April 18, 2022 @02:30AM (#31068009)
Huh! Today I learned that w and who aren't the same. I always thought they were.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by zvr on Monday April 18, 2022 @05:17AM (#31068744)
The `w` command is more of a `what` instead of `who`.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by BrandoElFollito on Monday April 18, 2022 @04:03PM (#31075734)
It would seem that the project is stalled, if not dead.

I discovered the project with this thread and I was about to file a bug report when I saw some comments about the maintainer who went silent a year ago or so.

Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by jedisct1 on Monday April 18, 2022 @05:05AM (#31068686)
I use doggo, a better version written in Go: https://github.com/mr-karan/doggo
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by joshbaptiste on Sunday April 17, 2022 @09:48PM (#31066441)
Grr.. the latest dog binary release gives me "GLIBC_2.32 not found" errors on x64 Linux..
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by LeoPanthera on Monday April 18, 2022 @02:31AM (#31068012)
A version might be on your repo - it's in the Homebrew repo on Macs.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by alekun on Monday April 18, 2022 @01:43AM (#31067793)
also “y”, careful where you try it
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by kevincox on Sunday April 17, 2022 @10:12PM (#31066564)
It definitely makes sense for me to reserve 1-letter commands for the user.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by easrng on Monday April 18, 2022 @03:38AM (#31068302)
I have n, a node version manager.
Re:Show HN: "q", a DNS query tool with support for UDP, TCP,... by goodside on Monday April 18, 2022 @04:51AM (#31068627)
X