×Welcome aboard! We are happy you are here and wish you good net-raft!

Together We Can Simplify The World

the current number of solutions:  2360
.htaccess (1x)    AJAX (13x)    ANGULARJS (161x)    ASP (1x)    ASP.NET (6x)    BACKBONE.JS (47x)    BOOTSTRAP (12x)    C# (224x)    COFFEESCRIPT (28x)    CSS (71x)    HTML (47x)    JADE (34x)    JAVA (51x)    JAVASCRIPT (430x)    JQUERY (390x)    JQUERY MOBILE (5x)    JSON (5x)    LARAVEL (25x)    MYSQL (9x)    NODEJS (162x)    ORACLE SQL (19x)    PERL (2x)    PHP (295x)    PYTHON (10x)    REACT (62x)    RUBY (25x)    RUBY ON RAILS (1x)    SHELL (2x)    SQL (90x)    SQL SERVER (3x)    TYPESCRIPT (51x)    VB.NET (32x)    W3.CSS (6x)    W3.JS (40x)    
join us

click to create your account

get ip address shell

(shell ip address )


 viewed 19



#Simple request using curl from a shell script.
#If your OS supports a dual stack IPv4/IPv6 you can add -4 or -6 option
#to force protocol selection, e.g. $(curl -4 -s https://l2.io/ip).

myip=$(curl -s https://l2.io/ip)
echo "My IP is $myip"


created: 19 days ago

The power of the user (%)


Do you know a little more effective code ? Feel free to optimize ...

haven't you found what you're looking for ?
Write us your question ...
Login is not needed.

The most helpful SHELL solutions
Likes Solution Technology
47 how to get client ip address using shell ?SHELL
1 get ip address shellSHELL
Check out all of SHELL ...
The most viewed SHELL solutions by country
Solution Country
how to get client ip address using shell ?Cinque Terre