Last active
October 12, 2016 09:33
-
-
Save hexvolt/93aeb7fc8a02c3dee1cd9e85d7a7c226 to your computer and use it in GitHub Desktop.
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
Aliases for .bashrc to find Raspberry. Note: MAC addresses of adaptors are there | |
alias find-pi-wifi="sudo nmap -sP 192.168.1.0/24 | awk '/^Nmap/{ip=\$NF}/00:E0:4D/{print ip}'" | |
alias find-pi="sudo nmap -sP 10.50.0.0/24 | awk '/^Nmap/{ip=\$NF}/B8:27:EB/{print ip}'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment