I have an ubuntu 18.04 linux server.
Why does the command(ifconfig eth
) says Device not found whereas this command(ifconfig eth0
) works?
$ ifconfig eth eth: error fetching interface information: Device not found $ ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001 inet 96.114.208.69 netmask 255.255.255.128 broadcast 96.114.208.127 inet6 fe80::8a9:12ff:fe5b:c324 prefixlen 64 scopeid 0x20<link> ether 0a:a9:12:5b:c3:24 txqueuelen 1000 (Ethernet) RX packets 5126229 bytes 7622036755 (7.6 GB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 1823543 bytes 124228703 (124.2 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Note: I tried the same thing on my other 14.04 linux server. Both commands are working