determine public ip via linux command line terminal

Linux terminal determine public ip

other choices