view bin/macaddr.sh @ 736:0dd3144d3bdc

loop videos
author Jeff Hammel <k0scist@gmail.com>
date Thu, 12 Mar 2015 11:36:00 -0700
parents 08574641d801
children
line wrap: on
line source

#!/bin/bash

INTERFACE=eth0

ifconfig ${INTERFACE} | grep 'HWaddr' | sed 's/.*HWaddr \(.*\) /\1/'