[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Automatizar alguns comando - TELNET
From: |
Felipe Kellermann |
Subject: |
Re: [shell-script] Automatizar alguns comando - TELNET |
Date: |
Tue, 17 Feb 2004 17:08:13 -0300 (BRT) |
On Tue, 17 Feb 2004 4:13pm -0300, Network wrote:
> Gostaria de executar sem a intervenção do usuário os comando abaixo:
>
> telnet 192.168.42.254 9000 >> /home/1.txt
> service patw
> user lg
> pass lg
$ echo 'service patw\nuser lg\npass lg|telnet 192.168.42.254 9000
--
Felipe Kellermann