Ever needed to find out the AS number of an Ip address quickly for troubleshooting?
as 8.8.8.8
AS | IP | AS Name
15169 | 8.8.8.8 | GOOGLE - Google Inc., US
To do this, simply add the following alias to your bash profile at ~/.bash_profile
alias as=‘whois -h whois.cymru.com’