Below is the machine:
$ uname -a
Darwin whatever 18.7.0 Darwin Kernel Version 18.7.0: Sun Dec 1 18:59:03 PST 2019; root:xnu-4903.278.19~1/RELEASE_X86_64 x86_64
$
In ubuntu, ip addr
or ip a
gives list of all interfaces.
What is the similar command in mac?
ifconfig
– user3439894 Jan 11 '20 at 21:18ip
give USB too? – anki Jan 11 '20 at 21:25man ip
in Terminal, It struck me: http://manpages.ubuntu.com/manpages/bionic/en/man8/ip.8.html – anki Jan 12 '20 at 00:57