Created
March 28, 2017 21:50
-
-
Save cuevasclemente/b5d4d84999d28faf2ab1334cc84e903a to your computer and use it in GitHub Desktop.
Getting the hostname of a machine on the local network
This file contains 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 | |
nmblookup -A $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment