MAC Address on Linux

Mark Waddingham 36degrees at
Fri Oct 8 16:37:29 EDT 2004

Hi Mark,

On Fri, 8 Oct 2004, Mark Talluto wrote:

> Anyone know how to get the MAC Address on Linux?  Ken has a tip for 
> this on his site, but it does not include Linux.  I am afraid I know 
> next to nothing about Linux.  A pointer on how I could get this would 
> save me much time.  Thanks!

All you need to do is parse the result of shell("/sbin/ifconfig"'). I 
think ifconfig sits in the same place on most Linux distributions...

Best wishes,


  Mark Waddingham ~ 36degrees @ ~
       Runtime Revolution ~ User-Centric Development Tools

More information about the Use-livecode mailing list