<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>https://wiki.ensagri-bfc.fr/index.php?action=history&amp;feed=atom&amp;title=Unix2dos_et_dos2unix</id>
	<title>Unix2dos et dos2unix - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.ensagri-bfc.fr/index.php?action=history&amp;feed=atom&amp;title=Unix2dos_et_dos2unix"/>
	<link rel="alternate" type="text/html" href="https://wiki.ensagri-bfc.fr/index.php?title=Unix2dos_et_dos2unix&amp;action=history"/>
	<updated>2026-06-07T11:23:00Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.ensagri-bfc.fr/index.php?title=Unix2dos_et_dos2unix&amp;diff=264&amp;oldid=prev</id>
		<title>Cv5lw : 1 version importée</title>
		<link rel="alternate" type="text/html" href="https://wiki.ensagri-bfc.fr/index.php?title=Unix2dos_et_dos2unix&amp;diff=264&amp;oldid=prev"/>
		<updated>2024-02-01T09:10:26Z</updated>

		<summary type="html">&lt;p&gt;1 version importée&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 1 février 2024 à 11:10&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;fr&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Aucune différence)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Cv5lw</name></author>
	</entry>
	<entry>
		<id>https://wiki.ensagri-bfc.fr/index.php?title=Unix2dos_et_dos2unix&amp;diff=263&amp;oldid=prev</id>
		<title>2024&gt;WikiSysop le 17 mars 2010 à 15:54</title>
		<link rel="alternate" type="text/html" href="https://wiki.ensagri-bfc.fr/index.php?title=Unix2dos_et_dos2unix&amp;diff=263&amp;oldid=prev"/>
		<updated>2010-03-17T15:54:02Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[category:Linux]]&lt;br /&gt;
[[category:Réseau]]&lt;br /&gt;
=Les commandes dos2unix et unix2dos=&lt;br /&gt;
Le format des fichiers texte sur MS-DOS et sur Unix est légèrement différent. La commande unix2dos converti un fichier Unix dans le format MS-DOS tandis que dos2unix converti un fichier MS-DOS en format Unix. &lt;br /&gt;
&lt;br /&gt;
==Premier exemple==&lt;br /&gt;
 mcopy a:guide.tex . &lt;br /&gt;
 dos2unix guide.tex guide.tex &lt;br /&gt;
Ici la première commande copie le fichier MS-DOS guide.tex sur Unix et la commande unix2dos  convertit le fichier MS-DOS guide.tex dans le format Unix. Le fichier converti portera également le nom de guide.tex écrasant le fichier original.&lt;br /&gt;
&lt;br /&gt;
==Second exemple==&lt;br /&gt;
Vous voulez sur un CPD linux modifier directement un script de connexion&lt;br /&gt;
&lt;br /&gt;
 pico -w /home/e-smith/files/samba/netlogon/netlogon.bat&lt;br /&gt;
 REM To set the time when clients logon to the domain:&lt;br /&gt;
 net time \\servername /set /yes&lt;br /&gt;
 REM To map a home directory to drive h:&lt;br /&gt;
 net use h: /home /persistent:no&lt;br /&gt;
 net use j: \\servername\ibay1 /persistent:no&lt;br /&gt;
 net use p: \\servername\ibay2 /persistent:no&lt;br /&gt;
 if exist Z: net use Z: /del /yes&lt;br /&gt;
 &lt;br /&gt;
 ensuite transformation du fichier dans le format dos &lt;br /&gt;
&lt;br /&gt;
 unix2dos /home/e-smith/files/samba/netlogon/netlogon.bat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Tapez &amp;#039;&amp;#039;&amp;#039;man unix2dos&amp;#039;&amp;#039;&amp;#039; ou &amp;#039;&amp;#039;&amp;#039;man dos2unix&amp;#039;&amp;#039;&amp;#039; pour obtenir à l&amp;#039;écran la description détaillée de ces deux commandes.&lt;/div&gt;</summary>
		<author><name>2024&gt;WikiSysop</name></author>
	</entry>
</feed>