85ae438
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/bash # Prints out your public IP adress # Depends on curl PREFIX=' ' get_pub_ip() { echo "$PREFIX$(curl -s ifconfig.co)" } get_pub_ip