<?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>MG&#039;s Notes &#187; bash</title>
	<atom:link href="http://mugurel.sumanariu.ro/tag/bash/feed/" rel="self" type="application/rss+xml" />
	<link>http://mugurel.sumanariu.ro</link>
	<description>Some useful things</description>
	<lastBuildDate>Mon, 21 Nov 2011 11:15:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Linux: How to view partition block size</title>
		<link>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/</link>
		<comments>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/#comments</comments>
		<pubDate>Mon, 21 Jun 2010 07:12:41 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=217</guid>
		<description><![CDATA[Run: dumpe2fs -h /dev/sda1 or tune2fs -l /dev/sda1 where /dev/sda1 is you partition, and search for Block size:]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/linux/linux-how-to-view-partition-block-size/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Qmail toaster: Disabling Spam checking for a particular address or domain</title>
		<link>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/</link>
		<comments>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 07:40:51 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[qmail]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=199</guid>
		<description><![CDATA[First locate simcontrol file at /var/qmail/control The default file looked like this: :clam=yes,spam=yes,spam_hits=10,attach=.mp3:.src:.bat:.pif:.exe If you want to just stop spam processing for a single user you have to put: user@domain.com:clam=yes,spam=no,spam_hits=10 in front of existing line, result: user@domain.com:clam=yes,spam=no,spam_hits=10 :clam=yes,spam=yes,spam_hits=10,attach=.mp3:.src:.bat:.pif:.exe for an entire domain just put: domain.com:clam=yes,spam=no,spam_hits=10 Save an run #qmailctl cdb  ]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/qmail/qmail-toaster-disabling-spam-checking-for-a-particular-address-or-domain/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>QmailToaster: Can&#8217;t locate Crypt/OpenSSL/Bignum.pm</title>
		<link>http://mugurel.sumanariu.ro/qmail/qmailtoaster-cant-locate-cryptopensslbignum-pm/</link>
		<comments>http://mugurel.sumanariu.ro/qmail/qmailtoaster-cant-locate-cryptopensslbignum-pm/#comments</comments>
		<pubDate>Wed, 27 Jan 2010 07:40:30 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[qmail]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=197</guid>
		<description><![CDATA[qmail + SPAMD +FC12 error:  error: Can&#8217;t locate Crypt/OpenSSL/Bignum.pm in @INC (@INC contains: /usr/lib/perl5/vendor_perl/5.10.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/ local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi /usr/local/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.10.0/i386-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/si te_perl) at /usr/local/lib/perl5/site_perl/5.10.0/i386-linux-thread-multi/Crypt/OpenSSL/RSA.pm line 17. solution: run cpan and install Crypt::OpenSSL::Bignum module. &#62; cpan &#62;install Crypt::OpenSSL::Bignum]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/qmail/qmailtoaster-cant-locate-cryptopensslbignum-pm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qmailadmin: check if password is strong enough</title>
		<link>http://mugurel.sumanariu.ro/qmail/qmailadmin-check-if-password-is-strong-enough/</link>
		<comments>http://mugurel.sumanariu.ro/qmail/qmailadmin-check-if-password-is-strong-enough/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 17:13:48 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[qmail]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=178</guid>
		<description><![CDATA[if you want to modify qmailadmin to check if new password is strong you can do like this: edit qmailadmin.c and: add:   #include &#60;ctype.h&#62; I wrote a function to check if new password contains at least 1 alphachar and 1 digit. add it before int main(argc,argv) int check_strong(char *pass_string) {     int digit=0;     int alpha=0; [...]]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/qmail/qmailadmin-check-if-password-is-strong-enough/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Rename dirs from uppercase to lowercase</title>
		<link>http://mugurel.sumanariu.ro/linux/rename-dirs-from-uppercase-to-lowercase/</link>
		<comments>http://mugurel.sumanariu.ro/linux/rename-dirs-from-uppercase-to-lowercase/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 09:30:49 +0000</pubDate>
		<dc:creator>MG</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[folder]]></category>
		<category><![CDATA[rename]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://mugurel.sumanariu.ro/?p=176</guid>
		<description><![CDATA[#!/bin/bash for x in `find * -maxdepth 0 -type d`; do   # Translate Caps to Small letters   y=$(echo $x &#124; tr &#8216;[A-Z]&#8216; &#8216;[a-z]&#8216;);   # check if directory exits   if [ ! -d $y ]; then      echo &#8220;mv $x $y&#8221;      mv $x $y;   fi done NOTE: -maxdepth 0 is [...]]]></description>
		<wfw:commentRss>http://mugurel.sumanariu.ro/linux/rename-dirs-from-uppercase-to-lowercase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

