3 ms·
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)
by bigshell 5y 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)
- indigodaddy 5y agoI 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.
- neogodless 5y ago> bear