Created
March 20, 2018 08:11
-
-
Save jtuttas/2c51ee08a17203d605511969a8db1c2a to your computer and use it in GitHub Desktop.
Raspi find
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/bash | |
| IP=$(ip addr show enxb827ebdbdca1 | awk '$1 == "inet" {gsub(/\/.*$/, "", $2); print $2}') | |
| url="https://script.google.com/macros/s/AKfycby4En3zI_no0iIcczt8Je2_JL2b1sQFQExgHKrN-0YKNAxMWxI/exec?name=tuttas&ip=$IP" | |
| echo $url | |
| curl --request GET --url $url |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment