<?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>Arquivos colorindo - Remontti</title>
	<atom:link href="https://blog.remontti.com.br/tag/colorindo/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.remontti.com.br/tag/colorindo</link>
	<description>rudimar@remontti</description>
	<lastBuildDate>Wed, 28 Sep 2016 12:20:46 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.remontti.com.br/wp-content/uploads/2024/09/icone-rr-80x80.png</url>
	<title>Arquivos colorindo - Remontti</title>
	<link>https://blog.remontti.com.br/tag/colorindo</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Colorindo seu Bash</title>
		<link>https://blog.remontti.com.br/141</link>
					<comments>https://blog.remontti.com.br/141#comments</comments>
		
		<dc:creator><![CDATA[Rudimar Remontti]]></dc:creator>
		<pubDate>Tue, 01 Dec 2015 02:00:00 +0000</pubDate>
				<category><![CDATA[Dicas]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[colorindo]]></category>
		<category><![CDATA[cores]]></category>
		<category><![CDATA[diretórios]]></category>
		<category><![CDATA[ls]]></category>
		<guid isPermaLink="false">http://www.remontti.com.br/blog/?p=141</guid>

					<description><![CDATA[<p>Uma dica rápida. Algumas distribuição linux não vem com o bash colorido, as pastas e arquivos não tem cores, para deixar tudo bonitinho basta editar o .bashrc que fica dentro do pasta do usuário&#46;&#46;&#46;</p>
<p>O post <a href="https://blog.remontti.com.br/141">Colorindo seu Bash</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Uma dica rápida.</p>
<p>Algumas distribuição linux não vem com o bash colorido, as pastas e arquivos não tem cores, para deixar tudo bonitinho basta editar o .bashrc que fica dentro do pasta do usuário /home/usuario/.bashrc ou /root/.bashrc</p>
<p>Se sua distribuição não tem essas linhas então crie o arquivo .bashrc no Debian basta descomentar.<br />
<span id="more-141"></span><br />
<img fetchpriority="high" decoding="async" class="size-full wp-image-1018 alignnone" src="https://www.remontti.com.br/blog/wp-content/uploads/2009/04/bash.png" alt="bash" width="955" height="409" srcset="https://blog.remontti.com.br/wp-content/uploads/2009/04/bash.png 955w, https://blog.remontti.com.br/wp-content/uploads/2009/04/bash-300x128.png 300w, https://blog.remontti.com.br/wp-content/uploads/2009/04/bash-768x329.png 768w" sizes="(max-width: 955px) 100vw, 955px" /> </p>
<pre class="remontti-code"># vim /root/.bashrc</pre>
<pre class="remontti-code"> export LS_OPTIONS=&#039;--color=auto&#039;
 eval &quot;`dircolors`&quot;
 alias ls=&#039;ls $LS_OPTIONS&#039;
 alias ll=&#039;ls $LS_OPTIONS -l&#039;
 alias l=&#039;ls $LS_OPTIONS -lA&#039;

# Extra colorindo o ==&gt; root@debian:~# 
PS1=&#039;${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u\[\033[01;34m\]@\[\033[01;31m\]\h\[\033[00m\]:\[\033[01;37m\]\w\[\033[01;32m\]\$\[\033[00m\] &#039;
</pre>
<p><em>Só para entender melhor:</em></p>
<p><em>\u O nome do usuário atual<br />
\h Nome da máquina<br />
\W Nome do diretório atual<br />
\$ Caractere que diferencia um usuário comum do super-usuário<br />
\t A hora atual no formato de 24 horas hh:mm:ss<br />
\d A data atual no formato &#8220;Dia_da_semana Mês Dia&#8221;</em></p>
<p><span style="color: #000000;">Você pode personalizar&#8230; exemplo abaixo coloca a hora na frente do comando.</span><em><span style="color: #000000;"> (<strong>\[\033[01;37m\]\t \</strong>)</span></em></p>
<blockquote><p>12:24:18 &#8211;<span style="color: #ffcc00;"> root</span><span style="color: #ff0000;">@</span><span style="color: #00ffff;">dns</span>:~<span style="color: #00ff00;">#</span></p></blockquote>
<pre class="remontti-code">PS1=&#039;${debian_chroot:+($debian_chroot)}\[\033[01;37m\]\t \[\033[01;33m\]\u\[\033[01;31m\]@\[\033[01;36m\]\h\[\033[00m\]:\[\033[01;37m\]\w\[\033[01;32m\]\$\[\033[00m\] &#039;</pre>
<p>\[\033[Z;YY;XXm\]<br />
Onde Z é o estilo dos caracteres, YY é a cor de fundo e XX a cor dos caracteres.</p>
<table border="1">
<tbody>
<tr>
<td>Cores</td>
<td>Caracteres</td>
<td>Fundo</td>
</tr>
<tr>
<td>Preto</td>
<td>30</td>
<td>40</td>
</tr>
<tr>
<td><span style="color: #ff0000;">Vermelho</span></td>
<td>31</td>
<td>41</td>
</tr>
<tr>
<td valign="top"><span style="color: #00ff00;">Verde</span></td>
<td valign="top">32</td>
<td valign="top">42</td>
</tr>
<tr>
<td valign="top"><span style="color: #ffff00;">Amarelo</span></td>
<td valign="top">33</td>
<td valign="top">43</td>
</tr>
<tr>
<td valign="top"><span style="color: #0000ff;">Azul</span></td>
<td valign="top">34</td>
<td valign="top">44</td>
</tr>
<tr>
<td valign="top"><span style="color: #800080;">Roxo</span></td>
<td valign="top">35</td>
<td valign="top">45</td>
</tr>
<tr>
<td valign="top"><span style="color: #00ffff;">Ciano</span></td>
<td valign="top">36</td>
<td valign="top">46</td>
</tr>
<tr>
<td valign="top"><span style="color: #808080;">Cinza</span></td>
<td valign="top">37</td>
<td valign="top">47</td>
</tr>
</tbody>
</table>
<p>Estilo dos Caracteres<br />
<span style="font-family: courier new,courier;">Normal 0</span><br />
<span style="font-family: courier new,courier;">Bold 1</span> Dá brilho as cores<br />
<span style="font-family: courier new,courier;">Undescore 4</span><br />
<span style="font-family: courier new,courier;">Blink 5</span> Pisca-pisca<br />
<span style="font-family: courier new,courier;">Inverse 7</span> Inverte cor de fundo<br />
<span style="font-family: courier new,courier;">Concealed 8</span></p>
<p><span style="color: #008080;"><span style="color: #000000;">Abraço!</span></span></p>
<p>O post <a href="https://blog.remontti.com.br/141">Colorindo seu Bash</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.remontti.com.br/141/feed</wfw:commentRss>
			<slash:comments>11</slash:comments>
		
		
			</item>
	</channel>
</rss>
