ip command
ip is replacing ifconfig
man ip
which does the same and more. Typing just ip will bring up the options, you do not need a
- dash,
ip
Use
ip a
to see the address and more