On Wed, Jul 03, 2002 at 01:19:34PM -0300, Leonardo Arend Leão wrote: > Alguem ai saberia como faco para obter o ip de uma de minha > interfaces numa variavel? de forma q eu pudesse acessa-la via > script? > echo $meu_ip > 200.X.X.X Você está falando em bash? Dê uma checada em hostname -i. Na minha máquina o comando seria MEUIP=$(hostname -i | cut -d " " -f 3)
-- Leonardo Boiko "However, is it possible that the primitives did not animate the world, but that perhaps, we have killed it?" -- Albert Low -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

