The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Use cURL in shell script and get most recent file from remote server using SFTP toobrown1 Shell Programming and Scripting 7 09-10-2009 03:39 PM
Change the Windows Batch script to UNIX shell script. tomailraj Shell Programming and Scripting 5 08-27-2009 12:44 PM
how to execute a batch script from shell script lakshmis10 Shell Programming and Scripting 1 10-17-2007 01:43 PM
Converting Shell script to Dos batch files darwinkna Shell Programming and Scripting 1 05-12-2006 12:01 PM
batch command in a shell script ivvo UNIX for Dummies Questions & Answers 7 07-20-2005 10:06 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 10-02-2009
onkeldave onkeldave is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 1
shell script vorher batch mit curl

salve!

this in windows command script (batch).
i need it for mac....unix or linux


Code:
@echo off
Echo Router reconnect: AVM FRITZ!BOX FON WLAN 7170
curl "http://192.168.10.10:49000/upnp/control/WANIPConn1" -H "Content-Type: text/xml; charset="utf-8"" -H "SoapAction:urn:schemas-upnp-org:service:WANIPConnection:1#ForceTermination" -d "<?xml version='1.0' encoding='utf-8'?> <s:Envelope s:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/' xmlns:s='http://schemas.xmlsoap.org/soap/envelope/'> <s:Body> <u:ForceTermination xmlns:u='urn:schemas-upnp-org:service:WANIPConnection:1' /> </s:Body> </s:Envelope>"
echo MsgBox "Router restart", VBInformation + VbOKOnly, "Astalavista" >%TEMP%\os.vbs
START %TEMP%\os.vbs

how can i say this in unix - shell script format?
can someone help me please
thankx

greetz dave

Last edited by Franklin52; 10-02-2009 at 08:23 AM.. Reason: Please use code tags!
  #2 (permalink)  
Old 10-02-2009
pludi's Avatar
pludi pludi is offline Forum Staff  
Moderator
  
 

Join Date: Dec 2008
Location: .at
Posts: 1,950
According to the rules, all post have to be in English. Please repost.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 02:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0