In linux, open your terminal, then type this command :

ifconfig