New York Office
70-11 Austin Street, Suite 3L
Forest Hills, NY 11375
Tel : (866) 228-6286
Fax : (718) 897-9665
Florida Office
13899 Biscayne Blvd
Suite 211 Miami, FL 33181
Tel : (866) 228-6286
Fax : (718) 897-9665
Las Vegas Office
1810 E. Sahara Ave.
Las Vegas, NV 89104 suite #121
Tel : (866) 228-6286
Fax : (718) 897-9665

Reboot Computer Services inc. Solution Experts

  • Increase font size
  • Default font size
  • Decrease font size

Get your Public IP via Terminal

Getting your public IP could be very helpful. Using a browser you can go to a site like www.whatismyip.com, but If you need to get it from the terminal it's a little different. Open the Terminal Application and enter the following command;
curl -s www.whatismyip.com/automation/n09230945.asp

or

curl -s checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'