1 Feb
2016
1 Feb
'16
16:07
Patrick Shanahan wrote:
following might help :) ::
# <--------- Cool Functions by Crouse--------> # Cool Functions for your .bashrc file.
#myip - finds your current IP if your connected to the internet myip () { lynx -dump -hiddenlinks=ignore -nolist http://checkip.dyndns.org:8245/ | awk '{ print $4 }' | sed '/^$/d; s/^[ ]*//g; s/[ ]*$//g' }
Seems a little complicated to me. Besides who has lynx installed anymore :-) http://www.dns24.ch/checkip -- Per Jessen, Zürich (12.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org