Skip to content

Instantly share code, notes, and snippets.

@cuevasclemente
Created March 28, 2017 21:50
Show Gist options
  • Save cuevasclemente/b5d4d84999d28faf2ab1334cc84e903a to your computer and use it in GitHub Desktop.
Save cuevasclemente/b5d4d84999d28faf2ab1334cc84e903a to your computer and use it in GitHub Desktop.
Getting the hostname of a machine on the local network
#!/bin/sh
nmblookup -A $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment