dotfiles/home/.conky/publicip.sh

6 lines
144 B
Bash
Raw Permalink Normal View History

2013-08-03 19:20:36 +02:00
#!/bin/bash
# eigene öffentliche ip anzeigen
wget http://checkip.dyndns.org/ -q -O - |
grep -Eo '\<[[:digit:]]{1,3}(\.[[:digit:]]{1,3}){3}\>'