+1 vote
by (125 points)
Hi,

How Can I get my public IP address from the terminal in Ubuntu?

1 Answer

0 votes
by (143 points)

Put the Bash script on the terminal you will see your public IP address.

echo $(wget -qO - https://api.ipify.org)

Welcome to Codeshikari Q&A, where you can ask questions and receive answers from other members of the community. Screenshot-from-2019-03-15-23-08-47
...