• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Save Terminal output as file or variable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Save Terminal output as file or variable
      • From: "Adam K. Wuellner" <email@hidden>
  • Prev by Date: triggering as via mysql/php?
  • Next by Date: Re: Mount Volume Works on Xserve but not Users Machine
  • Previous by thread: Re: triggering as via mysql/php?
  • Next by thread: Re: Save Terminal output as file or variable
  • Index(es):
    • Date
    • Thread