<?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>pra não esquecer... &#187; shell</title>
	<atom:link href="http://www.republicavirtual.com.br/blog/category/shell/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.republicavirtual.com.br/blog</link>
	<description></description>
	<lastBuildDate>Mon, 28 Nov 2011 14:31:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>random em shell script</title>
		<link>http://www.republicavirtual.com.br/blog/2011/06/17/random-em-shell-script/</link>
		<comments>http://www.republicavirtual.com.br/blog/2011/06/17/random-em-shell-script/#comments</comments>
		<pubDate>Fri, 17 Jun 2011 12:26:29 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=691</guid>
		<description><![CDATA[echo &#8220;$((RANDOM % 60))&#8221; dica do #cifali]]></description>
			<content:encoded><![CDATA[<p>echo &#8220;$((RANDOM % 60))&#8221;</p>
<p>dica do #cifali</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2011/06/17/random-em-shell-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh, ignorando known_hosts</title>
		<link>http://www.republicavirtual.com.br/blog/2010/05/26/ssh-ignorando-known_hosts/</link>
		<comments>http://www.republicavirtual.com.br/blog/2010/05/26/ssh-ignorando-known_hosts/#comments</comments>
		<pubDate>Wed, 26 May 2010 14:25:34 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=586</guid>
		<description><![CDATA[para liberar o acesso o acesso do ssh sem ter que ficar liberando o servidor Adicionar no /etc/ssh_config StrictHostKeyChecking no]]></description>
			<content:encoded><![CDATA[<p>para liberar o acesso o acesso do ssh sem ter que ficar liberando o servidor</p>
<p>Adicionar no /etc/ssh_config<br />
StrictHostKeyChecking no</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2010/05/26/ssh-ignorando-known_hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>air soft</title>
		<link>http://www.republicavirtual.com.br/blog/2009/09/19/air-soft/</link>
		<comments>http://www.republicavirtual.com.br/blog/2009/09/19/air-soft/#comments</comments>
		<pubDate>Sat, 19 Sep 2009 23:39:18 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>
		<category><![CDATA[xalassa]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=473</guid>
		<description><![CDATA[aeaeuhaeuh um amigo meu chamado Fabiano &#8220;Scorpion&#8221;, esta viciado nesse lance de air soft. Comprou toda roupa, oculos com coller para nao embaçar e até roupa do bope! tudo isso pra jogar! ta malucooo abaixo a figura no msn:]]></description>
			<content:encoded><![CDATA[<p>aeaeuhaeuh um amigo meu chamado Fabiano &#8220;Scorpion&#8221;, esta viciado nesse lance de air soft.</p>
<p>Comprou toda roupa, oculos com coller para nao embaçar e até roupa do bope! tudo isso pra jogar! ta malucooo</p>
<p>abaixo a figura no msn:<br />
<a href="http://www.republicavirtual.com.br/blog/wp-content/uploads/2009/09/fabiano.jpg"><img src="http://www.republicavirtual.com.br/blog/wp-content/uploads/2009/09/fabiano.jpg" alt="fabiano" title="fabiano" width="320" height="241" class="alignnone size-full wp-image-474" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2009/09/19/air-soft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>forçando umount</title>
		<link>http://www.republicavirtual.com.br/blog/2009/09/07/forcando-umount/</link>
		<comments>http://www.republicavirtual.com.br/blog/2009/09/07/forcando-umount/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 18:16:17 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[device busy]]></category>
		<category><![CDATA[umount]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=451</guid>
		<description><![CDATA[1) desmontar todos os dispositivos que estão montados abaixo do diretorio 2) fuser -m /dev/sdc1 e matar todos os processos&#8230; já era!]]></description>
			<content:encoded><![CDATA[<p>1) desmontar todos os dispositivos que estão montados abaixo do diretorio<br />
2) fuser -m /dev/sdc1<br />
e matar todos os processos&#8230;</p>
<p>já era!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2009/09/07/forcando-umount/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>remount tmpfs</title>
		<link>http://www.republicavirtual.com.br/blog/2009/09/03/remount-tmpfs/</link>
		<comments>http://www.republicavirtual.com.br/blog/2009/09/03/remount-tmpfs/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 20:43:29 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[remount]]></category>
		<category><![CDATA[tmpfs]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=446</guid>
		<description><![CDATA[/bin/mount tmpfs /tmp -t tmpfs -o remount,size=2048m,noatime,nodiratime,noexec,nosuid]]></description>
			<content:encoded><![CDATA[<p>/bin/mount tmpfs /tmp -t tmpfs -o remount,size=2048m,noatime,nodiratime,noexec,nosuid</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2009/09/03/remount-tmpfs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>bash copia dados rsync</title>
		<link>http://www.republicavirtual.com.br/blog/2009/09/02/bash-copia-dados-rsync/</link>
		<comments>http://www.republicavirtual.com.br/blog/2009/09/02/bash-copia-dados-rsync/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 17:30:35 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=440</guid>
		<description><![CDATA[# mesmo servidor for i in `ls /home/`; do rsync -avlp /home/$i /home.novo/; done; a = archive mode v = verbose l = copy symlinks as symlinks p = preserve permissions # servidor remoto com lista local for i in `ls /home/`; do rsync -avlp ip.do.serv.back::MODULO_NO_HOME/$i /home.novo/; done; para as coisas irem um pouco mais [...]]]></description>
			<content:encoded><![CDATA[<p># mesmo servidor<br />
for i in `ls /home/`; do rsync -avlp /home/$i /home.novo/; done;</p>
<p>a = archive mode<br />
v = verbose<br />
l = copy symlinks as symlinks<br />
p = preserve permissions</p>
<p># servidor remoto com lista local<br />
for i in `ls /home/`; do rsync -avlp ip.do.serv.back::MODULO_NO_HOME/$i /home.novo/; done;</p>
<p>para as coisas irem um pouco mais rápido:<br />
for i in `ls -r /home/`; do rsync -avlp ip.do.serv.back::MODULO_NO_HOME/$i /home.novo/; done;</p>
<p># servidor remoto sem lista local<br />
ls > lista.txt # no server remoto<br />
for i in `cat lista.txt`; do rsync -avlp ip.do.serv.back::MODULO_NO_HOME/$i /home.novo/; done;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2009/09/02/bash-copia-dados-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>kinghost hospedagem com lighttpd &#8211; código promocional</title>
		<link>http://www.republicavirtual.com.br/blog/2009/03/11/kinghost-hospedagem-com-lighttpd-codigo-promocional/</link>
		<comments>http://www.republicavirtual.com.br/blog/2009/03/11/kinghost-hospedagem-com-lighttpd-codigo-promocional/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 16:31:40 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=389</guid>
		<description><![CDATA[não sei se o vocês já conhecem a KingHost, mas simplismente os caras são estão sempre inovando&#8230; Lançaram agora hospedagem com suporte a linux com lighttpd. Fizeram uma página no painel de controle aonde é possível configurar o mod rewrite (que no lighttpd não tem .htaccess) e configurar diversas diretivas como: diretory index, diretory autentication, [...]]]></description>
			<content:encoded><![CDATA[<p>não sei se o vocês já conhecem a KingHost, mas simplismente os caras são estão sempre inovando&#8230;</p>
<p>Lançaram agora hospedagem com suporte a linux com lighttpd. Fizeram uma página no painel de controle aonde é possível configurar o mod rewrite (que no lighttpd não tem .htaccess) e configurar diversas diretivas como: diretory index, diretory autentication, mime-types, file cache&#8230; simplismente mto bom&#8230;</p>
<p>Não existe um plano especial para lighttpd, quando o cara assina cai direto no apache e pode solicitar migração para lighttpd através de ticket (nesta primeira fase disseram que vai ser assim, mas logo será opcional a mudança através do painel de controle). Simplismente eu escolho se quero trabalhar com apache ou lighttpd!</p>
<p>Testei e aprovei&#8230; para quem quiser testar, consegui um código promocional&#8230;</p>
<p>ganhe 15% de desconto nos 3 primeiros meses.</p>
<p>Utilize o código promocional: <strong><a href="http://www.kinghost.com.br/promo/BIGDESCONTO.html">BIGDESCONTO</a></strong><br />
no passo 3 do cadastro</p>
<p>nunca foi tão fácil ganhar desconto hein…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2009/03/11/kinghost-hospedagem-com-lighttpd-codigo-promocional/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>shell error redirect</title>
		<link>http://www.republicavirtual.com.br/blog/2008/11/24/shell-error-redirect/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/11/24/shell-error-redirect/#comments</comments>
		<pubDate>Mon, 24 Nov 2008 21:32:25 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[output error]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=328</guid>
		<description><![CDATA[2>&#038;1 Character Action &#62; Redirect standard output 2&#62; Redirect standard error 2&#62;&#38;1 Redirect standard error to standard output &#60; Redirect standard input &#124; Pipe standard output to another command &#62;&#62; Append to standard output 2&#62;&#38;1&#124; Pipe standard output and standard error to another command]]></description>
			<content:encoded><![CDATA[<p>2>&#038;1</p>
<p><TABLE BORDER=1><TR VALIGN=TOP><TH><P> Character</P><br />
</TH><TH><P> Action</P><br />
</TH></TR><TR VALIGN=TOP><TD><P> <CODE>&gt;</CODE></P></p>
<p></TD><TD><P> <A NAME=MARKER-2-341></A>Redirect standard output</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>2&gt;</CODE></P><br />
</TD><TD><P> Redirect standard error</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>2&gt;&amp;1</CODE></P><br />
</TD><TD><P> Redirect standard error to standard output</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>&lt;</CODE></P></p>
<p></TD><TD><P> Redirect standard input</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>|</CODE></P><br />
</TD><TD><P> Pipe standard output to another command</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>&gt;&gt;</CODE></P><br />
</TD><TD><P> Append to standard output</P><br />
</TD></TR><TR VALIGN=TOP><TD><P> <CODE>2&gt;&amp;1|</CODE></P></p>
<p></TD><TD><P> Pipe standard output and standard error to another command</P><br />
</TD></TR></TABLE></p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/11/24/shell-error-redirect/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Código promocional Kinghost</title>
		<link>http://www.republicavirtual.com.br/blog/2008/10/06/codigo-promocional-kinghost-2/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/10/06/codigo-promocional-kinghost-2/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 22:45:21 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Firebird]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postgre SQL]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[código promocional]]></category>
		<category><![CDATA[código promocional kinghost]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=248</guid>
		<description><![CDATA[hospede na melhor hospedagem brasileira e ainda ganhe 15% de desconto nos 3 primeiros meses. Utilize o código promocional: BIGDESCONTO no passo 3 do cadastro nunca foi tão fácil ganhar desconto hein&#8230;]]></description>
			<content:encoded><![CDATA[<p>hospede na melhor hospedagem brasileira e ainda ganhe 15% de desconto nos 3 primeiros meses.</p>
<p>Utilize o código promocional: <strong>BIGDESCONTO</strong><br />
no passo 3 do cadastro</p>
<p>nunca foi tão fácil ganhar desconto hein&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/10/06/codigo-promocional-kinghost-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>boot disc</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/30/boot-disc/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/30/boot-disc/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 20:15:06 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Hack]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[reparação de hd]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=234</guid>
		<description><![CDATA[precisando de um boot disk para: - atualizar bios&#8230; - fazer uma checagem de HD (SeaTools for DOS [Seagate/Maxtor]), samsung - ler uma partição NTFS baixe o ultimate boot cd]]></description>
			<content:encoded><![CDATA[<p>precisando de um boot disk para:<br />
- atualizar bios&#8230;<br />
- fazer uma checagem de HD (SeaTools for DOS [Seagate/Maxtor]), samsung<br />
- ler uma partição NTFS</p>
<p>baixe o ultimate boot cd<br />
<a href="http://www.ultimatebootcd.com/"><img src="http://www.ultimatebootcd.com/button.gif" border="0"></a> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/30/boot-disc/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>adicionado ao runlevel / iniciar</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/23/adicionado-ao-runlevel-iniciar/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/23/adicionado-ao-runlevel-iniciar/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 01:28:12 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=228</guid>
		<description><![CDATA[chkconfig &#8211; rc-update tks jb]]></description>
			<content:encoded><![CDATA[<p>chkconfig<br />
&#8211;<br />
rc-update</p>
<p>tks jb</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/23/adicionado-ao-runlevel-iniciar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ver dados placa mãe no linux</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/19/ver-dados-placa-mae-no-linux/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/19/ver-dados-placa-mae-no-linux/#comments</comments>
		<pubDate>Fri, 19 Sep 2008 23:08:58 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[bios]]></category>
		<category><![CDATA[motherboard]]></category>
		<category><![CDATA[placa mãe]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=223</guid>
		<description><![CDATA[dmidecode http://www.nongnu.org/dmidecode/]]></description>
			<content:encoded><![CDATA[<p>dmidecode </p>
<p><a href="http://www.nongnu.org/dmidecode/">http://www.nongnu.org/dmidecode/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/19/ver-dados-placa-mae-no-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>crontab</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/18/crontab/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/18/crontab/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 04:20:49 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=221</guid>
		<description><![CDATA[mm = minuto (0 &#8211; 59) hh = hora (0 &#8211; 23) dd = dia (1 &#8211; 31) MM = mês (1 &#8211; 12) ds = dia da semana (0 &#8211; 6), onde zero é domingo e 6 é sábado patch = caminho do executável script = caminho do script vejamos o exemplo a seguir, [...]]]></description>
			<content:encoded><![CDATA[<p>mm = minuto (0 &#8211; 59)<br />
hh = hora (0 &#8211; 23)<br />
dd = dia (1 &#8211; 31)<br />
MM = mês (1 &#8211; 12)<br />
ds = dia da semana (0 &#8211; 6), onde zero é domingo e 6 é sábado<br />
patch = caminho do executável<br />
script = caminho do script</p>
<p>vejamos o exemplo a seguir, quero executar um script que limpa os registros do banco de dados durante todo o minuto, durante todos os dias do ano, então fica assim:<br />
* * * * * /usr/local/bin/php /home/franklinjr/limpa_base.php</p>
<p>fonte e +detalhes: http://www.franklinjr.com/blog/index.php/2008/09/16/como-configurar-uma-cronjob/<br />
ps: mto bom franklin! aheuaheuaehae</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/18/crontab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>redirecionando erros shell</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/15/redirecionando-erros-shell/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/15/redirecionando-erros-shell/#comments</comments>
		<pubDate>Mon, 15 Sep 2008 18:31:06 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[redirecionar erro]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=219</guid>
		<description><![CDATA[puta merda, sempre esqueço&#8230; # comando 2>&#038;1]]></description>
			<content:encoded><![CDATA[<p>puta merda, sempre esqueço&#8230;</p>
<p># comando 2>&#038;1</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/15/redirecionando-erros-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>recuperar senha de root centos / redhat / fedora</title>
		<link>http://www.republicavirtual.com.br/blog/2008/09/09/recuperar-senha-de-root-centos-redhat-fedora/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/09/09/recuperar-senha-de-root-centos-redhat-fedora/#comments</comments>
		<pubDate>Wed, 10 Sep 2008 00:18:15 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[recovery root password]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[root password]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=213</guid>
		<description><![CDATA[rebootar a máquina no grub - apertar &#8220;E&#8221; para editar a linha do kernel do sistema desejado - na linha que iniciar com kernel, apertar &#8220;E&#8221; novamente - adicionar um &#8221; 1&#8243; no final e colocar para efetuar o boot e trocar a senha]]></description>
			<content:encoded><![CDATA[<p>rebootar a máquina<br />
no grub<br />
- apertar &#8220;E&#8221; para editar a linha do kernel do sistema desejado<br />
- na linha que iniciar com kernel, apertar &#8220;E&#8221; novamente<br />
- adicionar um &#8221; 1&#8243; no final</p>
<p>e colocar para efetuar o boot e trocar a senha</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/09/09/recuperar-senha-de-root-centos-redhat-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>colocando firebird no path de execução</title>
		<link>http://www.republicavirtual.com.br/blog/2008/08/29/colocando-firebird-no-path-de-execucao/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/08/29/colocando-firebird-no-path-de-execucao/#comments</comments>
		<pubDate>Fri, 29 Aug 2008 19:21:35 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[profile]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=209</guid>
		<description><![CDATA[colocar mais um path nos bins, coisa que o cara as vezes precisa fazer rápido e não se lembra&#8230; /etc/profile.env]]></description>
			<content:encoded><![CDATA[<p>colocar mais um path nos bins,<br />
coisa que o cara as vezes precisa fazer rápido e não se lembra&#8230;</p>
<p>/etc/profile.env</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/08/29/colocando-firebird-no-path-de-execucao/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Histórico de múltiplas instâncias do bash</title>
		<link>http://www.republicavirtual.com.br/blog/2008/08/25/historico-de-multiplas-instancias-do-bash/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/08/25/historico-de-multiplas-instancias-do-bash/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 02:21:23 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=196</guid>
		<description><![CDATA[Isto pode ser útil para quem trabalha com várias janelas de terminal. O comando history do bash (também o CTRL+R) guarda apenas o histórico da última sessão aberta, o que é um problema para quem usa mais de um terminal (eu uso o conjunto Xterm + screen). Para corrigir isto, adicione em seu .bashrc PLAIN [...]]]></description>
			<content:encoded><![CDATA[<p>Isto pode ser útil para quem trabalha com várias janelas de terminal.</p>
<p>O comando history do bash (também o CTRL+R) guarda apenas o histórico da última sessão aberta, o que é um problema para quem usa mais de um terminal (eu uso o conjunto Xterm + screen).</p>
<p>Para corrigir isto, adicione em seu .bashrc</p>
<div class="igBar"><span id="lcode-2"><a href="#" onclick="javascript:showPlainTxt('code-2'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-2">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">#Firulas de historico com o bash</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">export PROMPT_COMMAND=<span style="color:#CC0000;">"history -a"</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">export HISTFILESIZE=<span style="color:#800000;color:#800000;">2000</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">shopt -s histappend </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>Trabalhe com quantos terminais quiser, e guarde o histórico de todos!</p>
<p>------------<br />
mto bommmmmmmmmmmmmmmm<br />
fonte: http://www.danilocesar.com/blog/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/08/25/historico-de-multiplas-instancias-do-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ascii art</title>
		<link>http://www.republicavirtual.com.br/blog/2008/08/21/ascii-art/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/08/21/ascii-art/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 07:03:58 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>
		<category><![CDATA[ascii]]></category>
		<category><![CDATA[ascii-art]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=188</guid>
		<description><![CDATA[aeuhaeuae sei que pode parecer meio saudosista... mas que é uma obra é... http://www.network-science.de/ascii/ _____ ____ _____ ____ ____ ____ /__ __X _ X__ __X _ \/ __\/ _ \ / \ &#124; / \&#124; / \ &#124; / \&#124;&#124; \/&#124;&#124; / \&#124; &#124; &#124; &#124; \_/&#124; &#124; &#124; &#124; \_/&#124;&#124; /&#124; \_/&#124; \_/ \____/ [...]]]></description>
			<content:encoded><![CDATA[<p>aeuhaeuae</p>
<p>sei que pode parecer meio saudosista... mas que é uma obra é...</p>
<p><a href="http://www.network-science.de/ascii/">http://www.network-science.de/ascii/</a></p>
<pre >
 _____ ____ _____ ____  ____  ____
/__ __X  _ X__ __X  _ \/  __\/  _ \
  / \ | / \| / \ | / \||  \/|| / \|
  | | | \_/| | | | \_/||    /| \_/|
  \_/ \____/ \_/ \____/\_/\_\\____/

 __     __               __                 __
|  |--.|__|.-----.-----.|  |--.-----.-----.|  |_
|    < |  ||     |  _  ||     |  _  |__ --||   _|
|__|__||__||__|__|___  ||__|__|_____|_____||____|
                 |_____|
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/08/21/ascii-art/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dicas/atalhos shell/bash</title>
		<link>http://www.republicavirtual.com.br/blog/2008/07/20/dicas-atalhos-shell-bash/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/07/20/dicas-atalhos-shell-bash/#comments</comments>
		<pubDate>Sun, 20 Jul 2008 02:53:54 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[atalhos]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=150</guid>
		<description><![CDATA[Ctrl+A = Inicio comando Ctrl+E = Fim comando Ctrl+W = Deleta primeira palavra antes do cursor Ctrl+K = Deleta tudo antes do cursor ALT+D = Deleta primeira palavra depois do cursor Ctrl+U = Deleta tudo depois do cursor Ctrl+Y = Desfaz delete ALT+F = Avança uma palavra/argumento (front) ALT+B = Volta uma palavra/argumento (back) ALT+T [...]]]></description>
			<content:encoded><![CDATA[<p>Ctrl+A = Inicio comando<br />
Ctrl+E = Fim comando<br />
Ctrl+W = Deleta primeira palavra antes do cursor<br />
Ctrl+K = Deleta tudo antes do cursor<br />
ALT+D = Deleta primeira palavra depois do cursor<br />
Ctrl+U = Deleta tudo depois do cursor<br />
Ctrl+Y = Desfaz delete<br />
ALT+F = Avança uma palavra/argumento (front)<br />
ALT+B = Volta uma palavra/argumento (back)<br />
ALT+T = Troca palavra/argumento pelo anterior<br />
----<br />
Ctrl+R = Procura na lista de comandos já executados (apertando novamente, volta mais uma)<br />
Ctrl+L = Clear<br />
Ctrl+D = Logout<br />
----<br />
troca case de palavra, com o cursor antes da palavra<br />
ALT+L (troca para minusculas, lowcase)<br />
ALT+U (troca para maiusculas, uppercase)<br />
ALT+C (coloca a primeira para maiscula)(<br />
----<br />
aumentar o número de comandos armazenados no history colocando no .bash_profile:<br />
HISTFILESIZE=1000000000<br />
HISTSIZE=1000000<br />
----<br />
Uma outra coisa ótima é o bash_completion, tipo escreve tar [tab][tab], ele da a lista de argumentos... mto bom<br />
pra instalar</p>
<div class="igBar"><span id="lcode-4"><a href="#" onclick="javascript:showPlainTxt('code-4'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-4">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">vi /etc/bash.<span style="">bashrc</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">Descomente as <span style="color:#800000;color:#800000;">3</span> últimas linhas ficando assim:</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"># enable bash completion in interactive shells</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">if <span style="color:#006600; font-weight:bold;">&#91;</span> -f /etc/bash_completion <span style="color:#006600; font-weight:bold;">&#93;</span>; then</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">. /etc/bash_completion</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">fi</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">depois:</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">bash </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>se não tiver instalado no seu sistema, baixe em:</p>
<p>http://www.caliban.org/bash/index.shtml#completion</p>
<p>----<br />
calculando na shell,<br />
echo $((154*1024*1024))</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/07/20/dicas-atalhos-shell-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>acentuação shell</title>
		<link>http://www.republicavirtual.com.br/blog/2008/05/30/acentuacao-shell/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/05/30/acentuacao-shell/#comments</comments>
		<pubDate>Sat, 31 May 2008 00:52:07 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[acentuação]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[charset]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=127</guid>
		<description><![CDATA[editar /etc/bashrc e adicionar: PLAIN TEXT CODE: LANG=pt_BR LC_ALL=pt_BR LC_CTYPE=ISO-8859-1 LESSCHARSET=latin1 export LANG LC_ALL LC_CTYPE LESSCHARSET]]></description>
			<content:encoded><![CDATA[<p>editar /etc/bashrc<br />
e adicionar:</p>
<div class="igBar"><span id="lcode-6"><a href="#" onclick="javascript:showPlainTxt('code-6'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CODE:</span>
<div id="code-6">
<div class="code">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LANG=pt_BR</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LC_ALL=pt_BR</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LC_CTYPE=ISO-<span style="color:#800000;color:#800000;">8859</span>-<span style="color:#800000;color:#800000;">1</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">LESSCHARSET=latin1</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">export LANG LC_ALL LC_CTYPE LESSCHARSET </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/05/30/acentuacao-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>configurando ntp windows por console</title>
		<link>http://www.republicavirtual.com.br/blog/2008/04/26/configurando-ntp-windows-por-console/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/04/26/configurando-ntp-windows-por-console/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 06:29:53 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[comando]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[ntp]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=105</guid>
		<description><![CDATA[Configurar ntp: > net time /setsntp:"br.pool.ntp.org" > net stop w32time > net start w32time Para forçar sincronia: > net time /querysntp fonte: ara(ú)jo]]></description>
			<content:encoded><![CDATA[<p>Configurar ntp:<br />
> net time /setsntp:"br.pool.ntp.org"<br />
> net stop w32time<br />
> net start w32time </p>
<p>Para forçar sincronia:<br />
> net time /querysntp</p>
<p>fonte: ara(ú)jo</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/04/26/configurando-ntp-windows-por-console/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>pegando o pid shell</title>
		<link>http://www.republicavirtual.com.br/blog/2008/04/20/pegando-o-pid-shell/</link>
		<comments>http://www.republicavirtual.com.br/blog/2008/04/20/pegando-o-pid-shell/#comments</comments>
		<pubDate>Sun, 20 Apr 2008 19:11:17 +0000</pubDate>
		<dc:creator>Felipe Olivaes</dc:creator>
				<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://www.republicavirtual.com.br/blog/?p=99</guid>
		<description><![CDATA[echo $!]]></description>
			<content:encoded><![CDATA[<p>echo $!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.republicavirtual.com.br/blog/2008/04/20/pegando-o-pid-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

