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

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

Re: [shell-script] Script para pegar ip da interface ppp0


From: jaugusto
Subject: Re: [shell-script] Script para pegar ip da interface ppp0
Date: Mon, 20 Aug 2001 15:59:45 -0300

Olá José

   Tente esse comando

PPP0=`ifconfig | grep 200 | cut -f2 -d: | cut -f1 -d" "`

     Não sei se antes do texto "P-t-P:200.215.112.111" que você me mandou
tem um branco ou um <tab>. Caso exista um branco, coloque um branco entre
as aspas. Caso exista um <tab> coloque um <tab> entre as aspas.

P.S> As aspas fazem parte do comando, não as retire.

José Augusto Martins Nieviadonski
HSBC Bank Brasil S.A. - Banco Múltiplo
Treinamento de Informática




This message and any attachments are confidential to the ordinary user of
the e-mail address to which it was addressed and may also be privileged. If
you are not the adressee you may not copy, forward, disclose or use any
part of the message or its attachments and if you have received this
message in error, please notify the sender immediately by return e-mail and
delete it from your system.
Internet communications cannot be guaranteed to be secure or error-free as
information could be intercepted, corrupted, lost, arrive late or contain
viruses. The sender therefore does not accept liability for any errors or
omissions in the context of this message which arise as a result of
Internet transmission.



reply via email to

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