Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!helios!csseq!randy From: randy@csseq.tamu.edu (Randy Hutson) Newsgroups: comp.unix.questions Subject: Re: How do I find out my Ethernet address? Message-ID: <5197@helios.TAMU.EDU> Date: 3 May 90 23:07:38 GMT References: <1606@dinl.mmc.UUCP> <2561@syma.sussex.ac.uk> Sender: usenet@helios.TAMU.EDU Organization: Computer Science Department, Texas A&M University Lines: 18 |: On a Sun 3 (SunOS 4.0.3), how do I find out what my |: Ethernet address is? One answer is rebooting, but how |: do you find out without rebooting? |: Is there a command executable from sh(1)? | |You could try grep `hostname` /etc/hosts | |(assuming you have such a file, or similar) No, that will give the Internet address. grep `hostname` /etc/ethers should give the Ethernet address. Or if yellowpages is running, ypcat ethers | grep `hostname`