<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
	<id>http://www.bricosoft.com/index.php?action=history&amp;feed=atom&amp;title=History</id>
	<title>History - Historique des versions</title>
	<link rel="self" type="application/atom+xml" href="http://www.bricosoft.com/index.php?action=history&amp;feed=atom&amp;title=History"/>
	<link rel="alternate" type="text/html" href="http://www.bricosoft.com/index.php?title=History&amp;action=history"/>
	<updated>2026-11-17T08:50:15Z</updated>
	<subtitle>Historique des versions pour cette page sur le wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>http://www.bricosoft.com/index.php?title=History&amp;diff=1929&amp;oldid=prev</id>
		<title>Nettoyage gabarit : Nettoyage : gabarit 2012 (widgets Twitter/Google/DISQUS morts et fichiers fantômes)</title>
		<link rel="alternate" type="text/html" href="http://www.bricosoft.com/index.php?title=History&amp;diff=1929&amp;oldid=prev"/>
		<updated>2026-11-03T19:24:51Z</updated>

		<summary type="html">&lt;p&gt;Nettoyage : gabarit 2012 (widgets Twitter/Google/DISQUS morts et fichiers fantômes)&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;fr&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Version précédente&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version du 3 novembre 2026 à 19:24&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot;&gt;Ligne 11 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 11 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==augmenter l&amp;#039;historique de l&amp;#039;history==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==augmenter l&amp;#039;historique de l&amp;#039;history==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;div class=&quot;thumb tleft&quot;&amp;gt;&amp;lt;google uid=&quot;C08&quot; position=&quot;left&quot;&amp;gt;&amp;lt;/google&amp;gt;&amp;lt;/div&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les 500 dernières commandes ne vous suffisent plus, vous en voulez plus ? Il y a deux variables à modifier&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Les 500 dernières commandes ne vous suffisent plus, vous en voulez plus ? Il y a deux variables à modifier&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ echo &amp;quot;$HISTSIZE $HISTFILESIZE&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $ echo &amp;quot;$HISTSIZE $HISTFILESIZE&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key www_bricosoft_com-mw:diff:1.41:old-495:rev-1929:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Nettoyage gabarit</name></author>
	</entry>
	<entry>
		<id>http://www.bricosoft.com/index.php?title=History&amp;diff=495&amp;oldid=prev</id>
		<title>Sysop le 19 octobre 2012 à 14:24</title>
		<link rel="alternate" type="text/html" href="http://www.bricosoft.com/index.php?title=History&amp;diff=495&amp;oldid=prev"/>
		<updated>2012-10-19T14:24:27Z</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;&amp;#039;&amp;#039;&amp;#039;history&amp;#039;&amp;#039;&amp;#039; affiche la liste des dernières commandes utilisées.&lt;br /&gt;
&lt;br /&gt;
==Liste des 9 commandes que vous utilisez le plus ==&lt;br /&gt;
 $ history | awk &amp;#039;{print $2}&amp;#039; | sort | uniq -c | sort -rn | head -n 9&lt;br /&gt;
*history a deux colonnes : numéro d&amp;#039;ordre d&amp;#039;éxécution et la commande&lt;br /&gt;
*comme [http://du_numero_d_ordre.osef.be/ osef du numéro d&amp;#039;ordre]], avec [[awk]] on ne garde que la 2eme colonne (la commande, tu suis ?)&lt;br /&gt;
*on range les commandes par nom&lt;br /&gt;
*[[uniq]] n&amp;#039;en garde qu&amp;#039;une par nom et compte le nombre. Ce nombre est mis juste devant la commande&lt;br /&gt;
*[[sort]] -rn trie tout ça numériquement(-n : --numeric-sort) du plus grand vers le petit (-r : --reverse)&lt;br /&gt;
*head -n 9 ne garde que les neufs premiers de la liste (-n 9 est optionnel c&amp;#039;est -n 10 le défaut)&lt;br /&gt;
&lt;br /&gt;
==augmenter l&amp;#039;historique de l&amp;#039;history==&lt;br /&gt;
&amp;lt;div class=&amp;quot;thumb tleft&amp;quot;&amp;gt;&amp;lt;google uid=&amp;quot;C08&amp;quot; position=&amp;quot;left&amp;quot;&amp;gt;&amp;lt;/google&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
Les 500 dernières commandes ne vous suffisent plus, vous en voulez plus ? Il y a deux variables à modifier&lt;br /&gt;
 $ echo &amp;quot;$HISTSIZE $HISTFILESIZE&amp;quot;&lt;br /&gt;
 500 50&lt;br /&gt;
HISTSIZE est le nombre de commandes enregistrées à la fermeture de session et respectivement affichées à l&amp;#039;ouverture de session.&lt;br /&gt;
 HISTSIZE=9000&lt;br /&gt;
HISTFILESIZE est le nombre de commandes que peut enregistrer l&amp;#039;historique au maximum&lt;br /&gt;
 HISTFILESIZE=10000&lt;br /&gt;
&lt;br /&gt;
C&amp;#039;est où ? $DTC ?&amp;lt;br&amp;gt;&lt;br /&gt;
Nan, rajoutez &amp;lt;code&amp;gt;export HISTSIZE=9000&amp;lt;/code&amp;gt; dans ~/.bash_profile ou ~/.bash_rc&lt;br /&gt;
&lt;br /&gt;
==Rajouter l&amp;#039;horodatage dans l&amp;#039;historique des commandes==&lt;br /&gt;
Qui n&amp;#039;a jamais rêvé d&amp;#039;avoir un history qui sorte la date et l&amp;#039;heure devant la commande :&lt;br /&gt;
 1  19/10/2012 16:16:41 cd /var/log/&lt;br /&gt;
 2  19/10/2012 16:16:41 cd /var/log/apache2/&lt;br /&gt;
 4  19/10/2012 16:16:41 cd /var/log/&lt;br /&gt;
 5  19/10/2012 16:16:41 dog auth.log&lt;br /&gt;
 6  19/10/2012 16:16:41 sudo dog auth.log&lt;br /&gt;
 7  19/10/2012 16:16:41 sudo dog -w auth.log&lt;br /&gt;
Dans votre ~/.bash_profile ou ~/.bash_rc, rajoutez la variable HISTTIMEFORMAT :&lt;br /&gt;
 export HISTTIMEFORMAT=&amp;quot;%d/%m/%Y %H:%M:%S &amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Liens==&lt;br /&gt;
{{commandes unix}}&lt;br /&gt;
[[Média:Exemple.ogg]]&lt;/div&gt;</summary>
		<author><name>Sysop</name></author>
	</entry>
</feed>