<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Kévin Subileau &#187; bash</title> <atom:link href="http://www.kevinsubileau.fr/tag/bash-2/feed" rel="self" type="application/rss+xml" /><link>http://www.kevinsubileau.fr</link> <description>Espace personnel</description> <lastBuildDate>Sun, 02 Feb 2020 15:18:58 +0000</lastBuildDate> <language>fr-FR</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Des couleurs pour vos pages Man !</title><link>http://www.kevinsubileau.fr/informatique/astuces-tutoriels/des-couleurs-pour-vos-pages-man.html?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=rss</link> <comments>http://www.kevinsubileau.fr/informatique/astuces-tutoriels/des-couleurs-pour-vos-pages-man.html#comments</comments> <pubDate>Mon, 04 Feb 2013 20:30:04 +0000</pubDate> <dc:creator>Kévin Subileau</dc:creator> <category><![CDATA[Astuces et Tutoriels]]></category> <category><![CDATA[bash]]></category> <category><![CDATA[couleur]]></category> <category><![CDATA[man]]></category><guid isPermaLink="false">http://www.kevinsubileau.fr/?p=256</guid> <description><![CDATA[Une petite astuce rapide pour afficher vos pages de man en couleurs, la bible de tout bon utilisateur d'Unix, et ainsi en améliorer la lisibilité. Il suffit pour cela d'ajouter ces quelques lignes dans le fichier ~/.bashrc : export LESS_TERMCAP_mb=$&#039;\E[01;31m&#039; &#8230; <a href="http://www.kevinsubileau.fr/informatique/astuces-tutoriels/des-couleurs-pour-vos-pages-man.html">Lire la Suite <span class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>Une petite astuce rapide pour afficher vos pages de man en couleurs, la bible de tout bon utilisateur d'Unix, et ainsi en améliorer la lisibilité. Il suffit pour cela d'ajouter ces quelques lignes dans le fichier ~/.bashrc :</p><pre class="brush: bash; gutter: true">export LESS_TERMCAP_mb=$&#039;\E[01;31m&#039;
export LESS_TERMCAP_md=$&#039;\E[01;38;5;74m&#039;
export LESS_TERMCAP_me=$&#039;\E[0m&#039;
export LESS_TERMCAP_se=$&#039;\E[0m&#039;
export LESS_TERMCAP_so=$&#039;\E[38;5;246m&#039;
export LESS_TERMCAP_ue=$&#039;\E[0m&#039;
export LESS_TERMCAP_us=$&#039;\E[04;38;5;146m&#039;
export PAGER=&#039;less&#039;</pre><p style="text-align: center;"><img class="aligncenter  wp-image-257" alt="Page de man en couleurs" src="http://www.kevinsubileau.fr/wp-content/uploads/2013/01/man-pages-couleurs.png" width="491" height="333" /></p><p>Vous pourrez également trouver différentes associations de couleurs sur le Web, ou créer la votre en modifiant <a title="Codes couleurs Bash" href="http://www.tux-planet.fr/les-codes-de-couleurs-en-bash/">les codes couleurs</a>. Par exemple :</p><pre class="brush: bash; gutter: true">export LESS_TERMCAP_mb=$&#039;\E[01;31m&#039;
export LESS_TERMCAP_md=$&#039;\E[01;31m&#039;
export LESS_TERMCAP_me=$&#039;\E[0m&#039;
export LESS_TERMCAP_se=$&#039;\E[0m&#039;               
export LESS_TERMCAP_so=$&#039;\E[01;44;33m&#039;                              
export LESS_TERMCAP_ue=$&#039;\E[0m&#039;
export LESS_TERMCAP_us=$&#039;\E[01;32m&#039;
export PAGER=&#039;less&#039;</pre><p>Voilà qui change un peu du noir sur blanc ou blanc sur noir !</p> ]]></content:encoded> <wfw:commentRss>http://www.kevinsubileau.fr/informatique/astuces-tutoriels/des-couleurs-pour-vos-pages-man.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Database Caching using disk: basic

Served from: www.kevinsubileau.fr @ 2026-04-21 18:51:29 -->