From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fc89c,f983deca748588b X-Google-Attributes: gidfc89c,public X-Google-Thread: fa528,f983deca748588b X-Google-Attributes: gidfa528,public From: larry.gensch@compaq.com (Larry Gensch) Subject: Re: [Q]How to get ethernet hardware(MAC) address? Date: 2000/11/27 Message-ID: <8vtnc9$2mv$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 698229612 References: <8vl7tq$9gk$1@news2.kornet.net> <3A211779.41C6@maths.usyd.edu.au> Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 975331529 2783 16.141.0.174 (27 Nov 2000 13:25:29 GMT) Organization: Compaq Computer Corporation Mime-Version: 1.0 Reply-To: larry.gensch@compaq.com NNTP-Posting-Date: 27 Nov 2000 13:25:29 GMT Newsgroups: comp.unix.programmer,comp.unix.tru64 In article <3A211779.41C6@maths.usyd.edu.au>, Paul Szabo writes: > Kim YuSung wrote: >> I want to get ethernet hardware address of my own network card ... > > I often use > > /sbin/grep 'hardware address' /usr/adm/messages | \ > /usr/bin/tail -5 | \ > /usr/bin/sed -e 's/^.* vmunix: //' -e 's/^\(tu.:\) /\1 /' | \ > /sbin/sort -u > > Hope this helps. Nah. Too much typing: $ netstat -i -- Larry Gensch Larry.Gensch@compaq.com Compaq Computer Corporation As usual, the standard 110 Spit Brook Road ZKO3-2/W17 disclaimers apply, etc. Nashua, NH 03062 Yada yada yada