/Linux_commands

This is a memo for some useful linux commands.

Primary LanguageHTML

My linux command Cheat sheet

  • Ipconfig getifaddr en1 - The system will return the IP address for a wired Ethernet connection.
  • ipconfig getifaddr en0 - This will return the IP address of your wireless connection.
  • Curl ifconfig.me - This command returns the public IP address of the Mac Terminal.