<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=349486&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / [Contourné] Script telnet]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=349486</link>
		<description><![CDATA[Les sujets les plus récents dans [Contourné] Script telnet.]]></description>
		<lastBuildDate>Thu, 22 Oct 2009 06:46:29 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=3000532#p3000532</link>
			<description><![CDATA[<p>Pense à modifier le titre alors en rajoutant [Résolu] ou [Contourné] ou [CeQueTuVeux] <img src="http://forum.ubuntu-fr.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (iuchiban)]]></author>
			<pubDate>Thu, 22 Oct 2009 06:46:29 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=3000532#p3000532</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999443#p2999443</link>
			<description><![CDATA[<p>Merci pour ta réponse, iuchiban, quoiqu&#039;un peu tardive <img src="http://forum.ubuntu-fr.org/img/smilies/hmm.png" width="15" height="15" alt="hmm" />.</p><p>Cette méthode de passer par un script telnet était pour contourner un premiers problème, que j&#039;ai pu résoudre. Je n&#039;ai donc plus besoin de se script.</p>]]></description>
			<author><![CDATA[dummy@example.com (natrio)]]></author>
			<pubDate>Wed, 21 Oct 2009 15:49:41 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999443#p2999443</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999151#p2999151</link>
			<description><![CDATA[<p>Qu&#039;est ce que tu obtiens comme code d&#039;erreur ??</p><p>Parce que effectivement, les £1 $2 $3 indiquent les 1er, 2e et 3e arguments passés au script.<br />Peut être aussi que l&#039;interpréteur expect ne prend pas en compte le $ à l&#039;intérieur des &quot; &quot;</p><p>@amouzoun : moi j&#039;utilises http://abs.traduc.org/abs-fr/ comme site pour développer en shell</p>]]></description>
			<author><![CDATA[dummy@example.com (iuchiban)]]></author>
			<pubDate>Wed, 21 Oct 2009 13:55:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999151#p2999151</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999133#p2999133</link>
			<description><![CDATA[<p><a href="http://www.siteduzero.com/tutoriel-3-12827-reprenez-le-controle-avec-linux.html#part_88347">http://www.siteduzero.com/tutoriel-3-12 … part_88347</a></p><p>Très bon tuto pour apprendre a faire des script.</p>]]></description>
			<author><![CDATA[dummy@example.com (natrio)]]></author>
			<pubDate>Wed, 21 Oct 2009 13:45:49 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999133#p2999133</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  [Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999107#p2999107</link>
			<description><![CDATA[<p>bonjour <br />bien vrai je ne reponds pas a ta question mais <br />j&#039;aimerai te demander si je peux avoir un cour sur les scripts en linux<br />car j&#039;ai un exposer la dessus mais j&#039;y connais rien<br />mon mail est bertinos205@yahoo.fr</p>]]></description>
			<author><![CDATA[dummy@example.com (amouzoun)]]></author>
			<pubDate>Wed, 21 Oct 2009 13:36:33 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2999107#p2999107</guid>
		</item>
		<item>
			<title><![CDATA[[Contourné] Script telnet]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2985165#p2985165</link>
			<description><![CDATA[<p>Bonjours a tous,</p><p>Je tente d&#039;automatiser l&#039;extinction de poste windows (vista, basic et famillial) depuis un serveur. <br />Je suis donc parti sur le protocole telnet.</p><p>voici mon script:</p><div class="codebox"><pre><code>#!/usr/bin/expect -f

set timeout -1
spawn telnet -- $1

expect &quot;login: &quot;
send -- &quot;$2\r&quot;

expect &quot;password: &quot;
send -- &quot;$3\r&quot;

expect &quot;&gt;&quot;
send -- &quot;shutdown -s -t 30\r&quot;

expect &quot;&gt;&quot;
send -- &quot;exit\r&quot;</code></pre></div><p>je souhaite donc pouvoir utiliser se script de cette manière:</p><div class="codebox"><pre><code>./Monscript adr_IP login Pass</code></pre></div><p>Or il ne reconnai pas les variable $1, $2, etc comment les utiliser?</p>]]></description>
			<author><![CDATA[dummy@example.com (natrio)]]></author>
			<pubDate>Wed, 14 Oct 2009 17:17:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2985165#p2985165</guid>
		</item>
	</channel>
</rss>
