+1 vote
by (141 points)
Hi,

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

1 Answer

0 votes
by (176 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 any vulnerability related questions and receive answers from the experts of the community. Screenshot-from-2019-03-15-23-08-47

...