How can I get my external IP address in a shell script?

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=Ylagkl4tEGU



Duration: 7:08
4 views
0


How can I get my external IP address in a shell script?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/903/eugene-yarmash)Eugene Yarmash |
(unix.stackexchange.com/users/37512/timo-tijhof)Timo Tijhof |
(unix.stackexchange.com/users/23774/rsp)rsp |
(unix.stackexchange.com/users/11561/maciek-sawicki)Maciek Sawicki |
(unix.stackexchange.com/users/1629/joschi)joschi |
(unix.stackexchange.com/users/32558/ciro-santilli-ourbigbook-com)Ciro Santilli OurBigBook.com |
A special thanks goes out to the (https://unix.stackexchange.com/questions/22615/how-can-i-get-my-external-ip-address-in-a-shell-script)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

linux ip shell-script







Tags:
linux
ip
shell-script