shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Ifconfig + Cut


From: Herbert Faleiros
Subject: Re: [shell-script] Ifconfig + Cut
Date: Sun, 7 Mar 2010 19:47:42 -0300

On Sun, Mar 7, 2010 at 5:19 PM, Anderson Duarte
<address@hidden> wrote:
> $ ifconfig eth0 | grep HW | cut -c48-
> 00:1e:68:d9:b6:34
[...]
> Tem algo melhor que isso ?

cat /sys/class/net/eth0/address

--
Herbert


reply via email to

[Prev in Thread] Current Thread [Next in Thread]