<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.ainw.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>Mon wiki - informatique:divers</title>
        <description></description>
        <link>https://www.ainw.org/wiki/</link>
        <lastBuildDate>Mon, 04 May 2026 13:23:46 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>https://www.ainw.org/wiki/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
            <title>Mon wiki</title>
            <link>https://www.ainw.org/wiki/</link>
        </image>
        <item>
            <title>afficher_la_liste_des_paquets_installes_avec_cygwin</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:afficher_la_liste_des_paquets_installes_avec_cygwin&amp;rev=1732450238&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;afficher_la_liste_des_paquets_installes_avec_cygwin&quot;&gt;Afficher la liste des paquets installés avec Cygwin&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;cygcheck &lt;span class=&quot;re5&quot;&gt;--check-setup&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:10:38 +0000</pubDate>
        </item>
        <item>
            <title>afficher_les_entetes_d_une_requete_http_avec_curl</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:afficher_les_entetes_d_une_requete_http_avec_curl&amp;rev=1732468439&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;afficher_les_entetes_d_une_requete_http_avec_curl&quot;&gt;Afficher les entêtes d&amp;#039;une requête HTTP avec cURL&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;curl &lt;span class=&quot;re5&quot;&gt;-D&lt;/span&gt; - www.ainw.org &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;dev&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;null&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-D&lt;/code&gt; indique le fichier dans lequel enregistrer les entêtes de la réponse (ici &lt;em&gt;-&lt;/em&gt; ou sortie standard).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-o&lt;/code&gt; indique le fichier dans lequel enregistrer le corps de la réponse (ici &lt;em&gt;/dev/null&lt;/em&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:13:59 +0000</pubDate>
        </item>
        <item>
            <title>ajouter_un_type_dans_ack</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:ajouter_un_type_dans_ack&amp;rev=1732468053&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;ajouter_un_type_dans_ack&quot;&gt;Ajouter un type dans ack&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il faut modifier le fichier &lt;em&gt;&lt;a href=&quot;https://metacpan.org/pod/ack#Use-the-.ackrc-file&quot; class=&quot;urlextern&quot; title=&quot;https://metacpan.org/pod/ack#Use-the-.ackrc-file&quot; rel=&quot;ugc nofollow&quot;&gt;.ackrc&lt;/a&gt;&lt;/em&gt; et utiliser &lt;code&gt;--type-set&lt;/code&gt; de la manière suivante :
&lt;/p&gt;
&lt;dl class=&quot;code&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.ainw.org/wiki/doku.php?do=export_code&amp;amp;id=informatique:divers:ajouter_un_type_dans_ack&amp;amp;codeblock=0&quot; title=&quot;Télécharger cet extrait&quot; class=&quot;mediafile mf_ackrc&quot;&gt;.ackrc&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code&quot;&gt;# Type défini par une seule extension
--type-set=api:ext:apib

# Type défini par plusieurs extensions
--type-set=markdown:ext:md,apib

# Type défini par un motif
--type-set=blade:match:/blade\.php$/&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;p&gt;
On peut visualiser le nouveau type en lançant la commande :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;ack &lt;span class=&quot;re5&quot;&gt;--help-types&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Pour plus d&amp;#039;information, voir &lt;a href=&quot;https://metacpan.org/pod/ack#Defining-your-own-types&quot; class=&quot;urlextern&quot; title=&quot;https://metacpan.org/pod/ack#Defining-your-own-types&quot; rel=&quot;ugc nofollow&quot;&gt;ici&lt;/a&gt; et dans la &lt;a href=&quot;https://beyondgrep.com/documentation/&quot; class=&quot;urlextern&quot; title=&quot;https://beyondgrep.com/documentation/&quot; rel=&quot;ugc nofollow&quot;&gt;documentation officielle&lt;/a&gt;
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:07:33 +0000</pubDate>
        </item>
        <item>
            <title>concatener_des_fichiers_sous_windows</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:concatener_des_fichiers_sous_windows&amp;rev=1732450048&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;concatener_des_fichiers_sous_windows&quot;&gt;Concaténer des fichiers sous Windows&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il est possible de contaténer différents fichiers et de les afficher sur la sortie standard.
&lt;/p&gt;
&lt;pre class=&quot;code dos&quot;&gt;type &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier1&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier2&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:07:28 +0000</pubDate>
        </item>
        <item>
            <title>copier_un_fichier_iso_sur_une_cle_usb</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:copier_un_fichier_iso_sur_une_cle_usb&amp;rev=1777899178&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;copier_un_fichier_iso_sur_une_cle_usb&quot;&gt;Copier un fichier ISO sur une clé USB&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;dd&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;if&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;&amp;lt;/&lt;/span&gt;chemin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;du&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;fichier&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;iso&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;re2&quot;&gt;of&lt;/span&gt;=&lt;span class=&quot;sy0&quot;&gt;&amp;lt;/&lt;/span&gt;chemin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;de&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;la&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;clé&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_tip plugin_wrap&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Il faut que la partition soit bootable, idéalement en FAT32.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Si la clé USB doit pouvoir booter directement sur le fichier ISO, il faut utiliser le chemin de la clé et pas celui de la partition (ex: &lt;code&gt;/dev/sdb&lt;/code&gt; au lieu de &lt;code&gt;/dev/sdb1&lt;/code&gt;).&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_tip plugin_wrap&quot;&gt;
&lt;p&gt;
Sur Mac, on peut ajouter le paramètre &lt;code&gt;status=progress&lt;/code&gt; pour voir l&amp;#039;avancée de la copie.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Mon, 04 May 2026 12:52:58 +0000</pubDate>
        </item>
        <item>
            <title>copier_un_repertoire_avec_rsync</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:copier_un_repertoire_avec_rsync&amp;rev=1732450155&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;copier_un_repertoire_avec_rsync&quot;&gt;Copier un répertoire avec rsync&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Version courte&lt;/span&gt;
rsync &lt;span class=&quot;re5&quot;&gt;-avz&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--delete&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--force&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;destination&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version courte étendue&lt;/span&gt;
rsync &lt;span class=&quot;re5&quot;&gt;-rlptgoDvz&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--delete&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--force&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;destination&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue&lt;/span&gt;
rsync &lt;span class=&quot;re5&quot;&gt;--archive&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--verbose&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--compress&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--delete&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--force&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;destination&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue étendue&lt;/span&gt;
rsync &lt;span class=&quot;re5&quot;&gt;--recursive&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--links&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--perms&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--times&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--group&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--owner&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--devices&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--specials&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--verbose&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--compress&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--delete&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--force&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;source&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;destination&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-a&lt;/code&gt; ou &lt;code&gt;--archive&lt;/code&gt; active le mode archive. Il est équivalent à &lt;code&gt;-rlptgoD&lt;/code&gt; ou &lt;code&gt;--recursive --links --perms --times --group --owner --devices --specials&lt;/code&gt;.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-v&lt;/code&gt; ou &lt;code&gt;--verbose&lt;/code&gt; augmente la verbosité.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-z&lt;/code&gt; ou &lt;code&gt;--compress&lt;/code&gt; compresse les fichiers durant le transfert.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--delete&lt;/code&gt; supprime les éléments présents dans le répertoire de destination qui n&amp;#039;existent pas dans le répertoire source.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--force&lt;/code&gt; force la suppression des répertoires même s&amp;#039;ils ne sont pas vides.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-r&lt;/code&gt; ou &lt;code&gt;--recursive&lt;/code&gt; traite les répertoires récursivement.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-l&lt;/code&gt; ou &lt;code&gt;--links&lt;/code&gt; copie les liens symboliques comme des liens symboliques.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-p&lt;/code&gt; ou &lt;code&gt;--perms&lt;/code&gt; conserve les droits d&amp;#039;accès.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-t&lt;/code&gt; ou &lt;code&gt;--times&lt;/code&gt; conserve les dates de modification.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-g&lt;/code&gt; ou &lt;code&gt;--group&lt;/code&gt; conserve les groupes.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-o&lt;/code&gt; ou &lt;code&gt;--owner&lt;/code&gt; conserve le propriétaire (uniquement pour le super utilisateur).&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-D&lt;/code&gt; ou &lt;code&gt;--devices --specials&lt;/code&gt; :&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--devices&lt;/code&gt; conserve les fichiers &lt;em&gt;device&lt;/em&gt;.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--specials&lt;/code&gt; conserve les fichiers spéciaux.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:09:15 +0000</pubDate>
        </item>
        <item>
            <title>deplacer_des_colonnes_de_donnees_dans_excel</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:deplacer_des_colonnes_de_donnees_dans_excel&amp;rev=1732450088&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;deplacer_des_colonnes_de_donnees_dans_excel&quot;&gt;Déplacer des colonnes de données dans Excel&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il y a la méthode fastidieuse qui consiste à sélectionner les colonnes, les copier, insérer des colonnes vides, coller le contenu des copiées, supprimer les colonnes copiées.
&lt;/p&gt;

&lt;p&gt;
Il y a aussi la méthode simple qui consiste à sélectionner les colonnes et les déplacer en appuyant sur la touche &lt;code&gt;Shift&lt;/code&gt; et en cliquant sur l&amp;#039;icône de déplacement.
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:08:08 +0000</pubDate>
        </item>
        <item>
            <title>envoyer_un_courriel_en_cli</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:envoyer_un_courriel_en_cli&amp;rev=1732470375&amp;do=diff</link>
            <description>&lt;div class=&quot;tagstop&quot;&gt;&lt;span&gt;
	&lt;a href=&quot;https://www.ainw.org/wiki/doku.php?id=tag:todo&amp;amp;do=showtag&amp;amp;tag=todo&quot; class=&quot;wikilink1&quot; title=&quot;tag:todo&quot; rel=&quot;tag&quot;&gt;todo&lt;/a&gt;
&lt;/span&gt;&lt;/div&gt;

&lt;h1 class=&quot;sectionedit1&quot; id=&quot;envoyer_un_courriel_en_cli&quot;&gt;Envoyer un courriel en CLI&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;cat message.A.Envoyer | mail -s &amp;quot;Sujet du message&amp;quot; -a &amp;#039;From: &amp;quot;Mon nom&amp;quot; &amp;lt;from@example.org&amp;gt;&amp;#039; -b bcc@example.org -c cc@example.org to@example.org&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-s&lt;/code&gt; permet de définir un sujet.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-a&lt;/code&gt; permet d&amp;#039;ajouter un entête additionnel. Ce paramètre peut être utilisé plusieurs fois.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-b&lt;/code&gt; permet d&amp;#039;ajouter une copie carbone invisible. Ce paramètre accepte une liste d&amp;#039;adresses séparées par des virgules.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-c&lt;/code&gt; permet d&amp;#039;ajouter une copie carbone. Ce paramètre accepte une liste d&amp;#039;adresses séparées par des virgules.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_todo plugin_wrap&quot;&gt;&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Voir si je peux utiliser la syntaxe here-string.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; Voir si je peux utiliser la syntaxe complète pour les adresses.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Envoyer un courriel en CLI&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;envoyer_un_courriel_en_cli&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;14-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:46:15 +0000</pubDate>
        </item>
        <item>
            <title>exclure_un_repertoire_des_recherche_de_ack</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:exclure_un_repertoire_des_recherche_de_ack&amp;rev=1732468147&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;exclure_un_repertoire_des_recherches_de_ack&quot;&gt;Exclure un répertoire des recherches de ack&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il faut modifier le fichier &lt;em&gt;&lt;a href=&quot;https://metacpan.org/pod/ack#Use-the-.ackrc-file&quot; class=&quot;urlextern&quot; title=&quot;https://metacpan.org/pod/ack#Use-the-.ackrc-file&quot; rel=&quot;ugc nofollow&quot;&gt;.ackrc&lt;/a&gt;&lt;/em&gt; et utiliser &lt;code&gt;--ignore-dir&lt;/code&gt; de la manière suivante :
&lt;/p&gt;
&lt;dl class=&quot;code&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.ainw.org/wiki/doku.php?do=export_code&amp;amp;id=informatique:divers:exclure_un_repertoire_des_recherche_de_ack&amp;amp;codeblock=0&quot; title=&quot;Télécharger cet extrait&quot; class=&quot;mediafile mf_ackrc&quot;&gt;.ackrc&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code&quot;&gt;--ignore-dir=&amp;lt;dirname&amp;gt;&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot;&gt;
&lt;p&gt;
Cette option peut être utilisées plusieurs fois pour ignorer plusieurs répertoires. Elle ne supporte que les noms de répertoires simples.
Elle peut-être aussi utilisée directement lors de l&amp;#039;exécution de &lt;code&gt;ack&lt;/code&gt;.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:09:07 +0000</pubDate>
        </item>
        <item>
            <title>extraire_des_fichiers_d_une_archive_en_ligne</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:extraire_des_fichiers_d_une_archive_en_ligne&amp;rev=1732467884&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;extraire_des_fichiers_d_une_archive_en_ligne&quot;&gt;Extraire des fichiers d&amp;#039;une archive en ligne&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Version courte&lt;/span&gt;
curl &lt;span class=&quot;re5&quot;&gt;-L&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;github.com&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;releases&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;download&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;0.12.4&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltox-0.12.4_linux-generic-amd64.tar.xz &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tar&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-x&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-J&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; - &lt;span class=&quot;re5&quot;&gt;-C&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin &lt;span class=&quot;re5&quot;&gt;--strip&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; wkhtmltox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf wkhtmltox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltoimage
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue&lt;/span&gt;
curl &lt;span class=&quot;re5&quot;&gt;--location&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;github.com&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;releases&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;download&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;0.12.4&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltox-0.12.4_linux-generic-amd64.tar.xz &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tar&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--extract&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--xz&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--file&lt;/span&gt; - &lt;span class=&quot;re5&quot;&gt;--directory&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin &lt;span class=&quot;re5&quot;&gt;--strip&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; wkhtmltox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf wkhtmltox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltoimage&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Option de &lt;code&gt;curl&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-L&lt;/code&gt; ou &lt;code&gt;--location&lt;/code&gt; refait la requête en cas de redirection.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li class=&quot;level1 node&quot;&gt;&lt;div class=&quot;li&quot;&gt; Option de &lt;code&gt;tar&lt;/code&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-x&lt;/code&gt; ou &lt;code&gt;--extract&lt;/code&gt; extrait les fichiers de l&amp;#039;archive.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-J&lt;/code&gt; ou &lt;code&gt;--xz&lt;/code&gt; filtre l&amp;#039;archive avec &lt;a href=&quot;https://en.wikipedia.org/wiki/Xz&quot; class=&quot;urlextern&quot; title=&quot;https://en.wikipedia.org/wiki/Xz&quot; rel=&quot;ugc nofollow&quot;&gt;xz&lt;/a&gt;.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-f&lt;/code&gt; ou &lt;code&gt;--file&lt;/code&gt; utilise l&amp;#039;archive spécifiée.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-C&lt;/code&gt; ou &lt;code&gt;--directory&lt;/code&gt; change le répertoire de travail avant toute opération.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level2&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--strip&lt;/code&gt; supprime les &lt;strong&gt;&lt;em&gt;n&lt;/em&gt;&lt;/strong&gt; répertoires précédant le fichier.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_info plugin_wrap&quot;&gt;
&lt;p&gt;
Cette syntaxe est obligatoire lors de l&amp;#039;écriture de fichier Docker. Dans le cas de l&amp;#039;utilisation dans bash, on peut écrire la commande différemment :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;curl &lt;span class=&quot;re5&quot;&gt;-L&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;github.com&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltopdf&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;releases&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;download&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;0.12.4&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmltox-0.12.4_linux-generic-amd64.tar.xz &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;tar&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-x&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-J&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-f&lt;/span&gt; - &lt;span class=&quot;re5&quot;&gt;-C&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;local&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;sbin &lt;span class=&quot;re5&quot;&gt;--strip&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; wkhtmltox&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;bin&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;wkhtmlto&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;pdf,image&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:04:44 +0000</pubDate>
        </item>
        <item>
            <title>extraire_les_images_d_un_site</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:extraire_les_images_d_un_site&amp;rev=1732467763&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;extraire_les_images_d_un_site&quot;&gt;Extraire les images d&amp;#039;un site&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Version courte&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-nd&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-P&lt;/span&gt; ainw.org -Ajpg,jpeg &lt;span class=&quot;re5&quot;&gt;--reject-regex&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;.*thumb.*&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-l2&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;www.ainw.org
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--no-directories&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--recursive&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--directory-prefix&lt;/span&gt; ainw.org &lt;span class=&quot;re5&quot;&gt;--accept&lt;/span&gt; jpg,jpeg &lt;span class=&quot;re5&quot;&gt;--reject-regex&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;.*thumb.*&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--level&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;www.ainw.org&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-nd&lt;/code&gt; ou &lt;code&gt;--no-directories&lt;/code&gt; ne cré pas l&amp;#039;arbre des répertoires.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-r&lt;/code&gt; ou &lt;code&gt;--recursive&lt;/code&gt; active la récupération récursive.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-P&lt;/code&gt; ou &lt;code&gt;--directory-prefix&lt;/code&gt; indique le répertoire d&amp;#039;enregistrement des fichiers téléchargés.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-A&lt;/code&gt; ou &lt;code&gt;--accept&lt;/code&gt; conditionne la fin des noms des fichiers à télécharger.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--reject-regex&lt;/code&gt; rejette les &lt;abbr title=&quot;Uniform Resource Locator&quot;&gt;URL&lt;/abbr&gt; ne respectant pas le motif.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-l&lt;/code&gt; ou &lt;code&gt;--level&lt;/code&gt; détermine le niveau de récursion maximum.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:02:43 +0000</pubDate>
        </item>
        <item>
            <title>extraire_une_liste_de_chaines_de_caracteres</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:extraire_une_liste_de_chaines_de_caracteres&amp;rev=1732468180&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;extraire_une_liste_de_chaines_de_caracteres&quot;&gt;Extraire une liste de chaînes de caractères&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
J&amp;#039;ai envie de récupérer l&amp;#039;ensemble des codes d&amp;#039;erreurs générés par mon &lt;abbr title=&quot;Application Programming Interface&quot;&gt;API&lt;/abbr&gt; pour pouvoir les documenter.
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Version courte&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-roh&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--exclude&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;*.apib&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;api.error[^&#039;&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;]*&amp;quot;&lt;/span&gt; src&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;grep&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--recursive&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--only-matching&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--no-filename&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--exclude&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;*.apib&amp;quot;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;api.error[^&#039;&lt;span class=&quot;es1&quot;&gt;\&amp;quot;&lt;/span&gt;]*&amp;quot;&lt;/span&gt; src&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-r&lt;/code&gt; ou &lt;code&gt;--recursive&lt;/code&gt; traite les répertoires récursivement.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-o&lt;/code&gt; ou &lt;code&gt;--only-matching&lt;/code&gt; affiche ce qui correspond à la recherche.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-h&lt;/code&gt; ou &lt;code&gt;--no-filename&lt;/code&gt; supprime l&amp;#039;affichage des noms de fichiers.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--exclude&lt;/code&gt; exclus les fichiers correspondants lors du traitement.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:09:40 +0000</pubDate>
        </item>
        <item>
            <title>generation_d_un_pdf_a_partir_d_un_md</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:generation_d_un_pdf_a_partir_d_un_md&amp;rev=1732486818&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;generation_d_un_pdf_a_partir_d_un_md&quot;&gt;Génération d&amp;#039;un pdf à partir d&amp;#039;un md&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;pandoc &lt;span class=&quot;re5&quot;&gt;--from&lt;/span&gt;=markdown &lt;span class=&quot;re5&quot;&gt;--to&lt;/span&gt;=latex &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; Config.Switch.pdf &lt;span class=&quot;re5&quot;&gt;--toc&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-N&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-V&lt;/span&gt; colorlinks &lt;span class=&quot;re5&quot;&gt;-H&lt;/span&gt; head.tex &lt;span class=&quot;re5&quot;&gt;-V&lt;/span&gt; geometry:&lt;span class=&quot;st0&quot;&gt;&amp;quot;top=2cm,bottom=2cm,left=2cm,right=2cm&amp;quot;&lt;/span&gt; Config.Switch.md&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 22:20:18 +0000</pubDate>
        </item>
        <item>
            <title>generation_d_une_archive_en_changeant_les_chemins_des_fichiers</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:generation_d_une_archive_en_changeant_les_chemins_des_fichiers&amp;rev=1732486697&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;generation_d_une_archive_en_changeant_les_chemins_des_fichiers&quot;&gt;Génération d&amp;#039;une archive en changeant les chemins des fichiers&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;tar&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-C&lt;/span&gt; test.tar&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--transform&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;s/\./hello/&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--transform&lt;/span&gt;=&lt;span class=&quot;st0&quot;&gt;&amp;quot;s/toto1/tata/&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-cvzf&lt;/span&gt; tar.tar .&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 22:18:17 +0000</pubDate>
        </item>
        <item>
            <title>lancer_un_programme_java</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:lancer_un_programme_java&amp;rev=1732468352&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;lancer_un_programme_java&quot;&gt;Lancer un programme Java&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Sans paramètre&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;java&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-jar&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier JAR&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Avec l&#039;utilisation d&#039;un répertoire externe (utile pour l&#039;inclusion de bibliothèques) &lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;java&lt;/span&gt; -Djava.ext.dirs=&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;java&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-jar&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier JAR&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:12:32 +0000</pubDate>
        </item>
        <item>
            <title>lancer_un_serveur_http</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:lancer_un_serveur_http&amp;rev=1732468379&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;lancer_un_serveur_http&quot;&gt;Lancer un serveur HTTP&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Depuis n&amp;#039;importe quel répertoire, il faut lancer la commande suivante :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;python &lt;span class=&quot;re5&quot;&gt;-m&lt;/span&gt; http.server&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:12:59 +0000</pubDate>
        </item>
        <item>
            <title>modifier_le_contenu_d_un_fichier_avec_perl</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:modifier_le_contenu_d_un_fichier_avec_perl&amp;rev=1732449953&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;modifier_le_contenu_d_un_fichier_avec_perl&quot;&gt;Modifier le contenu d&amp;#039;un fichier avec Perl&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;kw2&quot;&gt;perl&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-i&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-p&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;s/search/replacement/g&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-i&lt;/code&gt; permet de modifier le fichier directement.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-p&lt;/code&gt; permet d&amp;#039;ajouter une boucle autour du programme à appliquer.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-e&lt;/code&gt; permet de saisir un programme d&amp;#039;une ligne.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:05:53 +0000</pubDate>
        </item>
        <item>
            <title>naviguer_sur_un_site_pour_trouver_les_liens_morts</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:naviguer_sur_un_site_pour_trouver_les_liens_morts&amp;rev=1732467707&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;naviguer_sur_un_site_pour_trouver_les_liens_morts&quot;&gt;Naviguer sur un site pour trouver les liens morts&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Version courte&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-r&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-l2&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-H&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--spider&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-np&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-D&lt;/span&gt; ainw.org &lt;span class=&quot;re5&quot;&gt;-nv&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-T&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt; https:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;www.ainw.org
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Version longue&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;wget&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--recursive&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--level&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--span-hosts&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--spider&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--no-parent&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--domains&lt;/span&gt;=ainw.org &lt;span class=&quot;re5&quot;&gt;--no-verbose&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--timeout&lt;/span&gt;=&lt;span class=&quot;nu0&quot;&gt;20&lt;/span&gt; http:&lt;span class=&quot;sy0&quot;&gt;//&lt;/span&gt;www.ainw.org&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-r&lt;/code&gt; ou &lt;code&gt;--recursive&lt;/code&gt; active la récupération récursive.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-l&lt;/code&gt; ou &lt;code&gt;--level&lt;/code&gt; détermine le niveau de récursion maximum.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-H&lt;/code&gt; ou &lt;code&gt;--span-hosts&lt;/code&gt; étend la recherche sur d&amp;#039;autres hôtes.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;--spider&lt;/code&gt; vérifie la présence des pages mais ne les télécharge pas.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-np&lt;/code&gt; ou &lt;code&gt;--no-parent&lt;/code&gt; limite la recherche aux répertoires enfants.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-D&lt;/code&gt; ou &lt;code&gt;--domains&lt;/code&gt; liste les domaines à suivre.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-nv&lt;/code&gt; ou &lt;code&gt;--no-verbose&lt;/code&gt; affiche uniquement les messages d&amp;#039;erreurs et les informations minimales.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-T&lt;/code&gt; ou &lt;code&gt;--timeout&lt;/code&gt; fixe la limite d&amp;#039;attente sur le réseau.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:01:47 +0000</pubDate>
        </item>
        <item>
            <title>partager_un_point_d_acces_wifi_avec_un_qr-code</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:partager_un_point_d_acces_wifi_avec_un_qr-code&amp;rev=1732468471&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;partager_un_point_d_acces_wifi_avec_un_qr-code&quot;&gt;Partager un point d&amp;#039;accès WiFi avec un QR-code&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Génère un QR-code&lt;/span&gt;
qrencode &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-l&lt;/span&gt; H &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; Guest.Wifi.png &lt;span class=&quot;st_h&quot;&gt;&#039;WIFI:S:&amp;lt;SSID&amp;gt;;T:&amp;lt;WEP|WPA|blank&amp;gt;;P:&amp;lt;PASSWORD&amp;gt;;H:&amp;lt;true|false|blank&amp;gt;;;&#039;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Génère un QR-code avec icône au centre&lt;/span&gt;
qrencode &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-l&lt;/span&gt; H &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; - &lt;span class=&quot;st_h&quot;&gt;&#039;WIFI:S:&amp;lt;SSID&amp;gt;;T:&amp;lt;WEP|WPA|blank&amp;gt;;P:&amp;lt;PASSWORD&amp;gt;;H:&amp;lt;true|false|blank&amp;gt;;;&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; \
convert - &lt;span class=&quot;re5&quot;&gt;-gravity&lt;/span&gt; center \
\&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;icons&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Adwaita&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;64x64&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;status&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;network-wireless-signal-excellent-symbolic.symbolic.png &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; black &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 5x5 \&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; \
&lt;span class=&quot;re5&quot;&gt;-composite&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-trim&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; black &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 1x1 wifi.png
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Génère un QR-code avec icône au centre ainsi que les informations en clair&lt;/span&gt;
qrencode &lt;span class=&quot;re5&quot;&gt;-s&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;7&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-l&lt;/span&gt; H &lt;span class=&quot;re5&quot;&gt;-o&lt;/span&gt; - &lt;span class=&quot;st_h&quot;&gt;&#039;WIFI:S:&amp;lt;SSID&amp;gt;;T:&amp;lt;WEP|WPA|blank&amp;gt;;P:&amp;lt;PASSWORD&amp;gt;;H:&amp;lt;true|false|blank&amp;gt;;;&#039;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; \
convert \&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; - &lt;span class=&quot;re5&quot;&gt;-gravity&lt;/span&gt; center \&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;icons&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;Adwaita&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;64x64&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;status&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;network-wireless-signal-excellent-symbolic.symbolic.png \
 &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; black &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 5x5 \&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-composite&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-trim&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 \&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; \
\&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-size&lt;/span&gt; 500x500 xc:white &lt;span class=&quot;re5&quot;&gt;-font&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;fonts&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;TTF&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;DejaVuSansMono.ttf &lt;span class=&quot;re5&quot;&gt;-fill&lt;/span&gt; black &lt;span class=&quot;re5&quot;&gt;-pointsize&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-draw&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;text 0,16 &#039;SSID: &amp;lt;SSID&amp;gt;&#039;&amp;quot;&lt;/span&gt; \
 &lt;span class=&quot;re5&quot;&gt;-trim&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 \&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; \&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-size&lt;/span&gt; 500x500 xc:white &lt;span class=&quot;re5&quot;&gt;-font&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;usr&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;share&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;fonts&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;TTF&lt;span class=&quot;sy0&quot;&gt;/&lt;/span&gt;DejaVuSansMono.ttf &lt;span class=&quot;re5&quot;&gt;-fill&lt;/span&gt; black \
&lt;span class=&quot;re5&quot;&gt;-pointsize&lt;/span&gt; &lt;span class=&quot;nu0&quot;&gt;16&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-draw&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;text 0,16 &#039;PWD: &amp;lt;PASSWORD&amp;gt;&#039;&amp;quot;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-trim&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-bordercolor&lt;/span&gt; white &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 10x10 \&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-gravity&lt;/span&gt; center &lt;span class=&quot;re5&quot;&gt;-append&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; color black &lt;span class=&quot;re5&quot;&gt;-border&lt;/span&gt; 1x1 wifi.png&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;S&lt;/code&gt; défini le SSID du réseau.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;T&lt;/code&gt; défini le protocole de sécurité utilisé.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;P&lt;/code&gt; défini le mot de passe.&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;H&lt;/code&gt; défini si le réseau est caché ou non.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:14:31 +0000</pubDate>
        </item>
        <item>
            <title>recuperer_l_identifiant_d_une_chaine_youtube</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:recuperer_l_identifiant_d_une_chaine_youtube&amp;rev=1732468407&amp;do=diff</link>
            <description>
&lt;h2 class=&quot;sectionedit1&quot; id=&quot;recuperer_l_identifiant_d_une_chaine_youtube&quot;&gt;Récupérer l&amp;#039;identifiant d&amp;#039;une chaîne Youtube&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code javascript&quot;&gt;document.&lt;span class=&quot;me1&quot;&gt;querySelector&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&#039;meta[itemprop=&amp;quot;channelId&amp;quot;]&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;.&lt;span class=&quot;me1&quot;&gt;content&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:13:27 +0000</pubDate>
        </item>
        <item>
            <title>redemarrer_un_router_d-link</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:redemarrer_un_router_d-link&amp;rev=1732450016&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;redemarrer_un_router_d-link&quot;&gt;Redémarrer un router D-link&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Bien sur il est possible de le faire depuis l&amp;#039;interface web. C&amp;#039;est facile mais pas très rapide. Il est aussi possible de le faire depuis la console en utilisant cURL.
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;curl &lt;span class=&quot;re5&quot;&gt;-u&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;&amp;lt;utilisateur&amp;gt;:&amp;lt;mot de passe&amp;gt;&#039;&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;http://192.168.0.1/reboot.xgi&#039;&lt;/span&gt;&lt;/pre&gt;

&lt;p&gt;
Et pour aller encore plus vite, pourquoi ne pas en faire un alias.
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:06:56 +0000</pubDate>
        </item>
        <item>
            <title>redirection_du_traffic_en_https_avec_apache</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:redirection_du_traffic_en_https_avec_apache&amp;rev=1732468212&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;redirection_du_traffic_en_https_avec_apache&quot;&gt;Redirection du traffic en HTTPS avec Apache&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il faut placer un fichier &lt;code&gt;.htaccess&lt;/code&gt; à la racine du site avec le contenu suivant :
&lt;/p&gt;
&lt;dl class=&quot;code&quot;&gt;
&lt;dt&gt;&lt;a href=&quot;https://www.ainw.org/wiki/doku.php?do=export_code&amp;amp;id=informatique:divers:redirection_du_traffic_en_https_avec_apache&amp;amp;codeblock=0&quot; title=&quot;Télécharger cet extrait&quot; class=&quot;mediafile mf_htaccess&quot;&gt;.htaccess&lt;/a&gt;&lt;/dt&gt;
&lt;dd&gt;&lt;pre class=&quot;code apache&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;RewriteEngine&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;On&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;RewriteCond&lt;/span&gt; %{HTTPS} !=&lt;span class=&quot;kw2&quot;&gt;on&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;RewriteRule&lt;/span&gt; ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]&lt;/pre&gt;
&lt;/dd&gt;&lt;/dl&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:10:12 +0000</pubDate>
        </item>
        <item>
            <title>relancer_l_explorer_de_windows</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:relancer_l_explorer_de_windows&amp;rev=1732450117&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;relancer_l_explorer_de_windows&quot;&gt;Relancer l&amp;#039;explorer de Windows&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Après une mise à jour de Git pour Windows, j&amp;#039;ai eu ma barre de tâche qui a disparue. Il suffit de relancer le programme &lt;code&gt;explorer.exe&lt;/code&gt;.
&lt;/p&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 12:08:37 +0000</pubDate>
        </item>
        <item>
            <title>renommer_des_fichiers</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:renommer_des_fichiers&amp;rev=1732468015&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;renommer_des_fichiers&quot;&gt;Renommer des fichiers&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Pour renommer des fichiers numérotés avec espaces de la forme &lt;code&gt;mon fichier 01.txt&lt;/code&gt; en &lt;code&gt;01-mon fichier 01.txt&lt;/code&gt;, on peut utiliser &lt;code&gt;sed&lt;/code&gt; et &lt;code&gt;mv&lt;/code&gt; de la manière suivante :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;re2&quot;&gt;IFS&lt;/span&gt;=$&lt;span class=&quot;st_h&quot;&gt;&#039;\n&#039;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; SOURCE &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
    &lt;span class=&quot;re2&quot;&gt;TARGET&lt;/span&gt;=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$SOURCE&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;s/\(.*\([0-9][0-9]\).*\)/\2-\1/&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$SOURCE&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$TARGET&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IFS&lt;/span&gt;=$&lt;span class=&quot;st_h&quot;&gt;&#039; \t\n&#039;&lt;/span&gt;&lt;/pre&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_important plugin_wrap&quot;&gt;
&lt;p&gt;
Il faut noter que l&amp;#039;utilisation de &lt;code&gt;sed&lt;/code&gt; dans cette configuration est gourmande. Si on essaye de renommer &lt;code&gt;mon fichier 01 - 55.txt&lt;/code&gt;, on aura le fichier &lt;code&gt;55-mon fichier 01 - 55.txt&lt;/code&gt; au lieu de &lt;code&gt;01-mon fichier 01 - 55.txt&lt;/code&gt;. Dans ce cas, il faudra utiliser la commande suivante :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;re2&quot;&gt;IFS&lt;/span&gt;=$&lt;span class=&quot;st_h&quot;&gt;&#039;\n&#039;&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;for&lt;/span&gt; SOURCE &lt;span class=&quot;kw1&quot;&gt;in&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;*&lt;/span&gt;; &lt;span class=&quot;kw1&quot;&gt;do&lt;/span&gt;
    &lt;span class=&quot;re2&quot;&gt;TARGET&lt;/span&gt;=$&lt;span class=&quot;br0&quot;&gt;&amp;#40;&lt;/span&gt;&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$SOURCE&lt;/span&gt;&lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; &lt;span class=&quot;kw2&quot;&gt;sed&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-e&lt;/span&gt; &lt;span class=&quot;st_h&quot;&gt;&#039;s/\([^0-9]*\([0-9][0-9]\).*\)/\2-\1/&#039;&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#41;&lt;/span&gt;
    &lt;span class=&quot;kw2&quot;&gt;mv&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$SOURCE&lt;/span&gt; &lt;span class=&quot;re1&quot;&gt;$TARGET&lt;/span&gt;
&lt;span class=&quot;kw1&quot;&gt;done&lt;/span&gt;
&lt;span class=&quot;re2&quot;&gt;IFS&lt;/span&gt;=$&lt;span class=&quot;st_h&quot;&gt;&#039; \t\n&#039;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;p&gt;
Il existe aussi un script Perl qui permet de faire cela à l&amp;#039;aide d&amp;#039;expressions régulières. Il est installé par défaut sur certaines distributions (ex : Ubuntu) mais pas sur d&amp;#039;autres (ex : Archlinux).
On peut l&amp;#039;utiliser de la manière suivante :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;fichier1&amp;quot; et &amp;quot;fichier2&amp;quot; en &amp;quot;fichier1.bak&amp;quot; et &amp;quot;fichier2.bak&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/$/.bak/&#039;&lt;/span&gt; fichier&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;fichier 1&amp;quot; et &amp;quot;fichier 2&amp;quot; en &amp;quot;fichier1.bak&amp;quot; et &amp;quot;fichier2.bak&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/ ([1,2])$/$1.bak/&#039;&lt;/span&gt; fichier\ &lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;premier gros fichier&amp;quot; en &amp;quot;premier.Gros.Fichier&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/ (.)/.\u$1/g&#039;&lt;/span&gt; premier\ gros\ fichier
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;exemple d&#039;un gros fichier&amp;quot; en &amp;quot;exemple.D.Un.Gros.Fichier&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/[ &#039;&lt;/span&gt;&lt;span class=&quot;st0&quot;&gt;&amp;quot;&#039;&amp;quot;&lt;/span&gt;&lt;span class=&quot;st_h&quot;&gt;&#039;](.)/.\u$1/g&#039;&lt;/span&gt; exemple\ d&lt;span class=&quot;co3&quot;&gt;\&#039;&lt;/span&gt;un\ gros\ fichier
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;fichier1&amp;quot; et &amp;quot;fichier2&amp;quot; en &amp;quot;FICHIER1&amp;quot; et &amp;quot;FICHIER2&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/(.)/\u$1/g&#039;&lt;/span&gt; fichier&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;y/a-z/A-Z/&#039;&lt;/span&gt; fichier&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Renommer &amp;quot;FICHIER1&amp;quot; et &amp;quot;FICHIER2&amp;quot; en &amp;quot;fichier1&amp;quot; et &amp;quot;fichier2&amp;quot;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/(.)/\l$1/g&#039;&lt;/span&gt; FICHIER&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;y/A-Z/a-z/&#039;&lt;/span&gt; FICHIER&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_important plugin_wrap&quot;&gt;
&lt;p&gt;
Sur Ubuntu, les commandes sont utilisables directement. Sur Archlinux, il faut préfixer toutes les commandes par &lt;code&gt;perl-&lt;/code&gt;. Par exemple :
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;perl-rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/$/.bak/&#039;&lt;/span&gt; fichier&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;
&lt;span class=&quot;co0&quot;&gt;# au lieu de&lt;/span&gt;
rename &lt;span class=&quot;st_h&quot;&gt;&#039;s/$/.bak/&#039;&lt;/span&gt; fichier&lt;span class=&quot;br0&quot;&gt;&amp;#123;&lt;/span&gt;&lt;span class=&quot;nu0&quot;&gt;1&lt;/span&gt;,&lt;span class=&quot;nu0&quot;&gt;2&lt;/span&gt;&lt;span class=&quot;br0&quot;&gt;&amp;#125;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:06:55 +0000</pubDate>
        </item>
        <item>
            <title>trouver_les_lignes_communes_a_2_fichiers</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:trouver_les_lignes_communes_a_2_fichiers&amp;rev=1732468246&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;trouver_les_lignes_communes_a_2_fichiers&quot;&gt;Trouver les lignes communes à 2 fichiers&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
Il faut utiliser la commande &lt;code&gt;comm&lt;/code&gt;. Celle-ci va afficher le résultat sous la forme de 3 colonnes. La première contient les lignes présentes uniquement dans le premier fichier, la seconde contient les lignes présentes uniquement dans le second fichier, la troisième contient les lignes communes aux 2 fichiers.
Il est possible de n&amp;#039;afficher que certaines colonnes en pointant celles que l&amp;#039;on veut supprimer.
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Affiche les 3 colonnes&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;comm&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; a.txt b.txt
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Affiche les lignes qui ne sont que dans un des 2 fichiers&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;comm&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-12&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; a.txt b.txt
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Affiche les lignes communes aux 2 fichiers&lt;/span&gt;
&lt;span class=&quot;kw2&quot;&gt;comm&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;-3&lt;/span&gt; &lt;span class=&quot;re5&quot;&gt;--&lt;/span&gt; a.txt b.txt&lt;/pre&gt;

&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:10:46 +0000</pubDate>
        </item>
        <item>
            <title>verifier_la_somme_de_controle_d_un_fichier</title>
            <link>https://www.ainw.org/wiki/doku.php?id=informatique:divers:verifier_la_somme_de_controle_d_un_fichier&amp;rev=1732468279&amp;do=diff</link>
            <description>
&lt;h1 class=&quot;sectionedit1&quot; id=&quot;verifier_la_somme_de_controle_d_un_fichier&quot;&gt;Vérifier la somme de contrôle d&amp;#039;un fichier&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;p&gt;
La &lt;a href=&quot;https://fr.wikipedia.org/wiki/Somme_de_contr%C3%B4le&quot; class=&quot;urlextern&quot; title=&quot;https://fr.wikipedia.org/wiki/Somme_de_contr%C3%B4le&quot; rel=&quot;ugc nofollow&quot;&gt;somme de contrôle&lt;/a&gt;&lt;sup&gt;&lt;a href=&quot;#fn__1&quot; id=&quot;fnt__1&quot; class=&quot;fn_top&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; est le résultat, de longueur fixe, de la transformation d&amp;#039;un fichier par une &lt;a href=&quot;https://fr.wikipedia.org/wiki/Fonction_de_hachage&quot; class=&quot;urlextern&quot; title=&quot;https://fr.wikipedia.org/wiki/Fonction_de_hachage&quot; rel=&quot;ugc nofollow&quot;&gt;fonction de hachage&lt;/a&gt;.
Selon la théorie des codes, à chaque empreinte correspond un seul et unique fichier.
Mais ce n&amp;#039;est que de la théorie, car la recherche faisant des progrès, ce n&amp;#039;est &lt;a href=&quot;https://en.wikipedia.org/wiki/MD5#Collision_vulnerabilities&quot; class=&quot;urlextern&quot; title=&quot;https://en.wikipedia.org/wiki/MD5#Collision_vulnerabilities&quot; rel=&quot;ugc nofollow&quot;&gt;plus tout à fait vrai&lt;/a&gt;.
De ce fait, il est facile ensuite de vérifier si le fichier est bien ce qu&amp;#039;il prétend être en comparant son empreinte réelle avec son empreinte théorique.
&lt;/p&gt;

&lt;p&gt;
Il existe différentes fonctions de hachages, mais les plus courantes (en tout cas sur GNU/Linux) sont MD5, SHA1 et SHA256. On préfèrera l&amp;#039;utilisation de l&amp;#039;algorithme SHA pour des raisons évidentes de sécurité.
&lt;/p&gt;
&lt;pre class=&quot;code bash&quot;&gt;&lt;span class=&quot;co0&quot;&gt;# Première méthode — Avec un programme externe&lt;/span&gt;
&lt;span class=&quot;kw3&quot;&gt;echo&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;lt;chaîne de contrôle&amp;gt;&amp;quot;&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;|&lt;/span&gt; sha256sum &lt;span class=&quot;re5&quot;&gt;-c&lt;/span&gt; -
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Deuxième méthode — Avec une chaîne here-string&lt;/span&gt;
sha256sum &lt;span class=&quot;re5&quot;&gt;-c&lt;/span&gt; - &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&amp;lt;&amp;lt;&lt;/span&gt; &lt;span class=&quot;st0&quot;&gt;&amp;quot;&amp;lt;chaîne de contrôle&amp;gt;&amp;quot;&lt;/span&gt;
&amp;nbsp;
&lt;span class=&quot;co0&quot;&gt;# Troisième méthode — Avec un fichier&lt;/span&gt;
sha256sum &lt;span class=&quot;re5&quot;&gt;-c&lt;/span&gt; &lt;span class=&quot;sy0&quot;&gt;&amp;lt;&lt;/span&gt;fichier de contrôle&lt;span class=&quot;sy0&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;code&gt;-c&lt;/code&gt; permet de vérifier un fichier et son empreinte.&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_important plugin_wrap&quot;&gt;
&lt;p&gt;
La chaîne de contrôle est composée de l&amp;#039;empreinte du fichier à vérifier, d&amp;#039;un espace, d&amp;#039;un astérisque et du nom de fichier à vérifier dans cette ordre.
Par exemple, &lt;code&gt;47ccc37db256387b70857f53a6067e8d50e692c9aa85e45e63e5190c5d1e0942 *Fedora-13-i686-Live.iso&lt;/code&gt;.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_start&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;&lt;div class=&quot;wrap_tip plugin_wrap&quot;&gt;
&lt;p&gt;
Le fichier de contrôle contient une chaîne de contrôle par ligne, ce qui permet de traiter plusieurs vérifications simultanément.
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;plugin_wrap_end&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;&amp;quot;,&amp;quot;secid&amp;quot;:5,&amp;quot;range&amp;quot;:&amp;quot;0-&amp;quot;} --&gt;
&lt;/div&gt;
&lt;div class=&quot;footnotes&quot;&gt;
&lt;div class=&quot;fn&quot;&gt;&lt;sup&gt;&lt;a href=&quot;#fnt__1&quot; id=&quot;fn__1&quot; class=&quot;fn_bot&quot;&gt;1)&lt;/a&gt;&lt;/sup&gt; 
&lt;div class=&quot;content&quot;&gt;Aussi appelée empreinte&lt;/div&gt;&lt;/div&gt;
&lt;/div&gt;
</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
            <pubDate>Sun, 24 Nov 2024 17:11:19 +0000</pubDate>
        </item>
    </channel>
</rss>
