How do I find my IP address in Terminal?

How do I find my IP address in Terminal?
Answer
How to Find Router IP Address with the Terminal App
  1. Open the Terminal app. You can find this by opening your Applications folder and double-clicking Utilities.
  2. Then type netstat -nr|grep default, and press Enter.
  3. Your router’s IP address will be indicated after the line which says “default.”
 

Tìm kiếm

Back
Top