RE: Save Terminal output as file or variable
RE: Save Terminal output as file or variable
- Subject: RE: Save Terminal output as file or variable
- From: "Jan-Bultereys" <email@hidden>
- Date: Mon, 6 Dec 2004 14:49:05 +0100
- Thread-topic: Save Terminal output as file or variable
this is how you put it into a file
> do script "snmpwalk -c public -v 1 192.168.16.234" > testfile
> do script "snmpwalk -c public -v 1 192.168.16.234" >> testfile (add to the same file)
>
best regards,jan
> ----------
> From: applescript-users-bounces+jan.bultereys=email@hidden on behalf of Markus Zielonka
> Sent: Monday, December 6, 2004 14:38 PM
> To: email@hidden
> Subject: Save Terminal output as file or variable
>
> Hello NG,
>
> i am a Newbi.
>
> (* This is my first Script
> Autor: Markus Zielonka
> Version: 0.1
> *)
> tell application "Terminal"
> do script "snmpwalk -c public -v 1 192.168.16.234"
> end tell
>
> I want to save the output in a file or variable.
> The next step is to be dispatched the outputs by Chat
> (ICQ or Jabber)
> bye
>
> Markus
>
>
>
>
>
>
>
> ___________________________________________________________
> Gesendet von Yahoo! Mail - Jetzt mit 250MB Speicher kostenlos - Hier anmelden: http://mail.yahoo.de
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden