how to check mac address of our system through terminal in ubuntu 10.04LTS
ipconfig/all
how to check mac address of our system through terminal in ubuntu 10.04LTS
ipconfig/all
An alternative to ifconfig is the ip command. You can use ip addr to list all your network interfaces with their IP and MAC addresses:
ek@Ilex:~$ ip addr
1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 00:0c:29:5a:35:6d brd ff:ff:ff:ff:ff:ff
inet 192.168.1.107/24 brd 192.168.1.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::20c:29ff:fe5a:356d/64 scope link
valid_lft forever preferred_lft forever
I often use ifconfig myself, but ip seems to be the way of the future (on Linux-based OSes, such as Ubuntu).