Y
Hacker News
new
|
ask
|
show
|
jobs
by
bigshell
1815 days ago
For some stupid reason I can't bare to see that done in 3 lines.
whois $(dig +short A $(dig +short MX purelymail.com | head -n 1) | head -n 1)
2 comments
indigodaddy
1814 days ago
I stopped using -n X for head/tail in favor of just -X (eg -1 or -10 or whatever). Save a few keystrokes, plus certain unixes (eg Solaris) only work with -X and don’t the support -n switch.
link
neogodless
1814 days ago
> bear
link