Created
August 25, 2019 20:05
-
-
Save eSlider/75e54d56918247974b9c3f9142f32353 to your computer and use it in GitHub Desktop.
Get organisation name by hostname
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
whois $(dig +short @1.1.1.1 produktor.io | head -1) | grep -Po "org-name\:\s+\K.+" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment