Published - 6 years ago ( Updated - 6 years ago )
Use ifconfig plus grep to filter out inet
ifconfig |grep inet
en0 (network card)
ipconfig getifaddr en0
en1 (Wifi)
ipconfig getifaddr en1
Use ifconfig plus grep to filter out inet
ifconfig |grep inet
en0 (network card)
ipconfig getifaddr en0
en1 (Wifi)
ipconfig getifaddr en1
If you install Vim like me, will there be an error that python2.7 or python3 is required when executing the terminal, but the system obviously has python 2.7? This article explains how I fixed this issue.
I myself will need to use MacOS to dial VPN in the command line. Here I provide my alias and setting method
No Comment
Post your comment