view bin/macaddr.sh @ 638:6dedad97c4eb

STUB: .emacs
author Jeff Hammel <k0scist@gmail.com>
date Tue, 04 Mar 2014 10:18:23 -0800
parents 08574641d801
children
line wrap: on
line source

#!/bin/bash

INTERFACE=eth0

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