"Christmas - the time to fix the computers of your loved ones" « Lord Wyrm

MAC adresse anzeigen lassen

Slondsha 15.01.2005 - 15:56 685 4
Posts

Slondsha

Addicted
Avatar
Registered: Apr 2003
Location: Southside-OÖ
Posts: 404
wie kann ich mir unter suse 9.0 die mac adresse meiner LAN karte anzeigen lassen?

Woifi

Addicted
Avatar
Registered: Jun 2003
Location: $home
Posts: 485
ifconfig -a

COLOSSUS

Administrator
GNUltra
Avatar
Registered: Dec 2000
Location: ~
Posts: 12070
Code:
/sbin/ifconfig -a <device> | grep HWaddr | tr -s \[:blank:\] | cut -d" " -f5

...einfacher geht's nicht :D

that

Hoffnungsloser Optimist
Avatar
Registered: Mar 2000
Location: MeidLing
Posts: 11338
doch:

Code:
ifconfig -a|gawk '/HWaddr/ {print $5}'

Slondsha

Addicted
Avatar
Registered: Apr 2003
Location: Southside-OÖ
Posts: 404
jo danke
Kontakt | Unser Forum | Über overclockers.at | Impressum | Datenschutz