[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Ifconfig + Cut
From: |
Anderson Duarte |
Subject: |
Re: [shell-script] Ifconfig + Cut |
Date: |
Mon, 8 Mar 2010 00:25:40 -0300 |
Valeu! a do Hebert foi a melhor. :D
Em 7 de março de 2010 19:47, Herbert Faleiros <address@hidden>escreveu:
>
>
> On Sun, Mar 7, 2010 at 5:19 PM, Anderson Duarte
> <address@hidden <andersonrizada%40gmail.com>> 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
>
>
--
# Anderson Duarte (Rizada)
# http://rizada.org
+55 79 8804-4114
/(bb|[^b]{2})/ That is the question! - Shakespeare. :)
[As partes desta mensagem que não continham texto foram removidas]