<?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=339169&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / shell]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=339169</link>
		<description><![CDATA[Les sujets les plus récents dans shell.]]></description>
		<lastBuildDate>Fri, 21 Aug 2009 09:11:03 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2882003#p2882003</link>
			<description><![CDATA[<p>En fait il ne faut pas taper le &quot;$&quot;, c&#039;est le prompt (comme &quot;A vous&gt;&quot;).<br />Le export sert à rendre la variable PS1 système. Une variable système existera aussi dans les programmes appelés. </p><p>Quand tu tapes &#039;sh&#039;, tu appelle le programme sh. Comme on a &quot;exporté&quot; PS1, il la connait lui aussi.</p><p>A part ça, sh est un interpréteur de commande, mais l&#039;interpréteur de commande par défaut sous ubuntu est &quot;bash&quot; (qui est plus évolué, même si la syntaxe des commandes est généralement identique). Utilise plutôt ce dernier, tu as sans doute commencé ton cours avec lui.</p><p>Si tu est en sh, </p><div class="codebox"><pre><code>PS1=&quot;A vous&gt;&quot;</code></pre></div><p>Devrait marcher. Je sais pas pourquoi, en ksh ça marchait pas, il a fallu faire export, et je suppose que c&#039;est pareil en bash.</p>]]></description>
			<author><![CDATA[dummy@example.com (MrAzerty)]]></author>
			<pubDate>Fri, 21 Aug 2009 09:11:03 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2882003#p2882003</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881985#p2881985</link>
			<description><![CDATA[<p>Ok merci.</p>]]></description>
			<author><![CDATA[dummy@example.com (mydjey)]]></author>
			<pubDate>Fri, 21 Aug 2009 09:05:08 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881985#p2881985</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881981#p2881981</link>
			<description><![CDATA[<p>Je suis des cours chez Educatel</p>]]></description>
			<author><![CDATA[dummy@example.com (yanick_cangaeld)]]></author>
			<pubDate>Fri, 21 Aug 2009 09:03:14 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881981#p2881981</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881974#p2881974</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>à chaque fois dans le cours c&#039;est marqué comme ça .</p></div></blockquote></div><p>Salut</p><p>Quelle cours utilise tu ? Ça m&#039;intéresse, merci.</p>]]></description>
			<author><![CDATA[dummy@example.com (mydjey)]]></author>
			<pubDate>Fri, 21 Aug 2009 09:00:54 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881974#p2881974</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881973#p2881973</link>
			<description><![CDATA[<p>Je tapais $SP1 , ça devait pas être ça ?</p><p>Par contre quand j&#039;ai tapé export PS1=&quot;A vous&gt;&quot; ça m&#039;a bien mis A vous&gt; mais ensuite j&#039;ai tapé sh pour faire A vous&gt;sh et ça m&#039;a remis A vous&gt; ?</p>]]></description>
			<author><![CDATA[dummy@example.com (yanick_cangaeld)]]></author>
			<pubDate>Fri, 21 Aug 2009 09:00:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881973#p2881973</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881940#p2881940</link>
			<description><![CDATA[<p>C&#039;est parcequ&#039;il faut que tu fasse:</p><div class="codebox"><pre><code>$ export PS1=&quot;A vous&gt;&quot;</code></pre></div><p>(testé en ksh, j&#039;ai pas de bash sous la main)</p><p>Sinon, on est bien d&#039;accords, tu as pas tapé de &quot;$&quot; au début de ta commande, c&#039;est juste ton prompt actuel ou celui de ton cours?</p>]]></description>
			<author><![CDATA[dummy@example.com (MrAzerty)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:49:24 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881940#p2881940</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881917#p2881917</link>
			<description><![CDATA[<p>Merci,</p><p>par contre je tape les commandes avec &quot; :</p><div class="quotebox"><blockquote><div><p>$ echo SP1<br />$<br />$SP1=&#039;A vous&gt;&quot;<br />A vous&gt;sh<br />$ echo $SP1<br />$</p></div></blockquote></div><p>mais pourquoi quand j&#039;arrive à la ligne $SP1=&quot;A vous&gt;&quot; et que je tape entrée ça ne met pas la ligne A vous&gt;sh ? ça me remet ¨~$ ?</p>]]></description>
			<author><![CDATA[dummy@example.com (yanick_cangaeld)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:40:57 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881917#p2881917</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881901#p2881901</link>
			<description><![CDATA[<p>Avec &#039;, ta chaine de caractère est prise telle quelle, sans être interprétée.<br />Avec &quot;, tes variables sont interprétées: </p><div class="codebox"><pre><code>$ echo &quot;$HOME&quot;
/home/ton_user

$ echo &#039;$HOME&#039;
$HOME

$ echo &#039;Ma variable $HOME vaut &#039;&quot;$HOME&quot;
Ma variable $HOME vaut /home/ton_user</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (MrAzerty)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:35:19 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881901#p2881901</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881888#p2881888</link>
			<description><![CDATA[<p>à chaque fois dans le cours c&#039;est marqué comme ça .<br />C&#039;est quoi la différence entre &#039; et &quot; ?</p>]]></description>
			<author><![CDATA[dummy@example.com (yanick_cangaeld)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:30:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881888#p2881888</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881881#p2881881</link>
			<description><![CDATA[<p>C&#039;est simplement parce que tu as ouvert les guillemets avec un &#039; et fermé avec un &quot; (du coup ça n&#039;est pas fermé).</p>]]></description>
			<author><![CDATA[dummy@example.com (®om)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:28:51 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881881#p2881881</guid>
		</item>
		<item>
			<title><![CDATA[shell]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881880#p2881880</link>
			<description><![CDATA[<p>Bonjour,</p><p>Je débute le cours sur les langages de commandes et il y a un exemple :</p><div class="quotebox"><blockquote><div><p>$ echo SP1<br />$<br />$SP1=&#039;A vous&gt;&quot;<br />A vous&gt;sh<br />$ echo $SP1<br />$</p></div></blockquote></div><p>Le problème c&#039;est quand je tape $SP1=&#039;A vous&gt;&quot; ça me met ensuite &gt; en début de ligne à chaque fois et à la place d&#039;afficher A vous&gt;sh ça met&#160; &gt; en début de ligne et donc je ne peux effectuer les autres commandes ?<br />Il y a quelque chose que j&#039;ai oublié de faire avant ou un truc à installer ?</p>]]></description>
			<author><![CDATA[dummy@example.com (yanick_cangaeld)]]></author>
			<pubDate>Fri, 21 Aug 2009 08:26:52 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2881880#p2881880</guid>
		</item>
	</channel>
</rss>
