<?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>EcoBuntu.org</title>
	<atom:link href="http://www.ecobuntu.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ecobuntu.org</link>
	<description>Tech tips...</description>
	<lastBuildDate>Sat, 18 Sep 2010 12:44:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Query to list top 10 largest tables in MySQL DB</title>
		<link>http://www.ecobuntu.org/database/query-to-list-top-10-largest-tables-in-mysql-db/</link>
		<comments>http://www.ecobuntu.org/database/query-to-list-top-10-largest-tables-in-mysql-db/#comments</comments>
		<pubDate>Sat, 18 Sep 2010 12:41:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=211</guid>
		<description><![CDATA[<br/>mysql> SELECT concat(table_schema,'.',table_name) table_name,concat(round(data_length/(1024*1024),2),'M') data_length FROM information_schema.TABLES ORDER BY data_length DESC LIMIT 10;]]></description>
			<content:encoded><![CDATA[<br/><p><code>mysql> SELECT concat(table_schema,'.',table_name) table_name,concat(round(data_length/(1024*1024),2),'M') data_length FROM information_schema.TABLES ORDER BY data_length DESC LIMIT 10;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/database/query-to-list-top-10-largest-tables-in-mysql-db/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>lftp connection : Access failed: 521 Data connections must be encrypted</title>
		<link>http://www.ecobuntu.org/uncategorized/lftp-connection-access-failed-521-data-connections-must-be-encrypted/</link>
		<comments>http://www.ecobuntu.org/uncategorized/lftp-connection-access-failed-521-data-connections-must-be-encrypted/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 09:14:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[Utilities]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=206</guid>
		<description><![CDATA[<br/>If during an lftp session you get the error message: get: Access failed: 521 Data connections must be encrypted. (xxx.tar.gz) You will need to set this variable: lftp username@host.com:/> set ftp:ssl-protect-data true]]></description>
			<content:encoded><![CDATA[<br/><p>If during an lftp session you get the error message:</p>
<p><code>get: Access failed: 521 Data connections must be encrypted. (xxx.tar.gz)</code></p>
<p>You will need to set this variable:</p>
<p><code>lftp username@host.com:/> set ftp:ssl-protect-data true<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/uncategorized/lftp-connection-access-failed-521-data-connections-must-be-encrypted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grep text in PDF&#8217;s using pdftotext</title>
		<link>http://www.ecobuntu.org/utilities/grep-text-in-pdfs-using-pdftotext/</link>
		<comments>http://www.ecobuntu.org/utilities/grep-text-in-pdfs-using-pdftotext/#comments</comments>
		<pubDate>Thu, 14 May 2009 13:12:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[one liner]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=202</guid>
		<description><![CDATA[<br/>If you ever need to grep some specific tags in a bunch of pdf files, you can use the following one liner, e.g: for FILE in $(find /home/user/Desktop/downloads/ -name "*.pdf" 2>/dev/null -mtime -1 \! -type d -exec ls {} \;); do pdftotext $FILE - &#124; grep -o 'BZ [0-9]\{5\}';done]]></description>
			<content:encoded><![CDATA[<br/><p>If you ever need to grep some specific tags in a bunch of pdf files, you can use the following one liner, e.g:</p>
<p><code>for FILE in $(find /home/user/Desktop/downloads/ -name "*.pdf" 2>/dev/null -mtime -1 \! -type d -exec ls {} \;); do pdftotext $FILE - | grep -o 'BZ [0-9]\{5\}';done</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/utilities/grep-text-in-pdfs-using-pdftotext/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cannot open shared object file</title>
		<link>http://www.ecobuntu.org/operating-system/cannot-open-shared-object-file/</link>
		<comments>http://www.ecobuntu.org/operating-system/cannot-open-shared-object-file/#comments</comments>
		<pubDate>Fri, 24 Apr 2009 14:43:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=197</guid>
		<description><![CDATA[<br/>I get the following error when executing a binary file: error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory This error is likely to occur either because you have not properly defined your $LD_LIBRARY_PATH or the file is simply missing. To debug try the following: ldd {binary_file} or [...]]]></description>
			<content:encoded><![CDATA[<br/><p>I get the following error when executing a binary file:<br />
<code>error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory</code></p>
<p>This error is likely to occur either because you have not properly defined your $LD_LIBRARY_PATH or the file is simply missing.</p>
<p>To debug try the following:<br />
<strong><code><br />
ldd {binary_file}</code></strong></p>
<p>or to get more verbose information:</p>
<p><strong><code>export LD_DEBUG=libs;{binary_file}</code></strong></p>
<p>for more options:</p>
<p><strong><code>export LD_DEBUG=help;{binary_file}<br />
</code></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/operating-system/cannot-open-shared-object-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypt/Decrypt a file using openssl</title>
		<link>http://www.ecobuntu.org/utilities/encrypt_descrypt-a-file-using-openssl/</link>
		<comments>http://www.ecobuntu.org/utilities/encrypt_descrypt-a-file-using-openssl/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 14:47:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=188</guid>
		<description><![CDATA[<br/>Encrypt the file: openssl des3 -salt -in file.txt -out encrypted_file.txt Decrypt the file: openssl des3 -d -salt -in encrypted_file.txt -out decrypted_file.txt]]></description>
			<content:encoded><![CDATA[<br/><p><strong>Encrypt the file:</strong><br />
<code>openssl des3 -salt -in file.txt -out encrypted_file.txt</code><br />
<strong><br />
Decrypt the file:</strong><br />
<code>openssl des3 -d -salt -in encrypted_file.txt -out decrypted_file.txt</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/utilities/encrypt_descrypt-a-file-using-openssl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Last.fm from the command line</title>
		<link>http://www.ecobuntu.org/utilities/lastfm-from-the-command-line/</link>
		<comments>http://www.ecobuntu.org/utilities/lastfm-from-the-command-line/#comments</comments>
		<pubDate>Wed, 15 Apr 2009 11:57:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[music]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=148</guid>
		<description><![CDATA[<br/>If you are a command line addict, you can download shell-fm and start listening Last.fm from there. Links to customize it: http://jdin.blogspot.com http://shell-fm.wikidot.com/extending-shell-fm]]></description>
			<content:encoded><![CDATA[<br/><p>If you are a command line addict, you can download <a href="http://shell-fm.wikidot.com/installation">shell-fm</a> and start listening Last.fm from there.</p>
<p><em>Links to customize it:</em><br />
<a href="http://jdin.blogspot.com">http://jdin.blogspot.com</a><br />
<a href="http://shell-fm.wikidot.com/extending-shell-fm">http://shell-fm.wikidot.com/extending-shell-fm</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/utilities/lastfm-from-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extend tempdb in Sybase</title>
		<link>http://www.ecobuntu.org/database/extend-tempdb-in-sybase/</link>
		<comments>http://www.ecobuntu.org/database/extend-tempdb-in-sybase/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 13:17:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[maintenance]]></category>
		<category><![CDATA[sybase]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=130</guid>
		<description><![CDATA[<br/>&#8220;The transaction log in database tempdb is almost full. Your transaction is being suspended until space is made available in the log.&#8221; If you are getting this error message you can extend tempdb running the following commands: disk init name ="extra_tempdb", physname ="/opt/sybase/data/extra_tempdb", vdevno=8, size=512000 alter database tempdb on extra_tempdb = 500 alter database tempdb [...]]]></description>
			<content:encoded><![CDATA[<br/><p>&#8220;<em>The transaction log in database tempdb is almost full. Your transaction<br />
is being suspended until space is made available in the log.</em>&#8221;</p>
<p>If you are getting this error message you can extend tempdb running the following commands:<br />
<code><br />
disk init name ="extra_tempdb", physname ="/opt/sybase/data/extra_tempdb", vdevno=8, size=512000<br />
alter database tempdb on extra_tempdb = 500<br />
alter database tempdb log on extra_tempdb = 500 </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/database/extend-tempdb-in-sybase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fsniper</title>
		<link>http://www.ecobuntu.org/utilities/fsniper/</link>
		<comments>http://www.ecobuntu.org/utilities/fsniper/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 12:36:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utilities]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=123</guid>
		<description><![CDATA[<br/>fsniper allow to monitor your folders and trigger some actions based on the type of files you have there. Example: ~/.config/fsniper/config PDF files downloaded from Firefox on the desktop, get moved to ~/Desktop/pdf. watch { ~/Desktop { *.part { handler = echo ignoring file: %% } application/pdf { handler = mv %% ~/Desktop/pdf } } [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="http://projects.l3ib.org/trac/fsniper">fsniper</a> allow to monitor your folders and trigger some actions based on the type of files you have there.</p>
<p><strong>Example: ~/.config/fsniper/config</strong><br />
PDF files downloaded from Firefox on the desktop, get moved to  ~/Desktop/pdf.</p>
<p>watch {<br />
~/Desktop {<br />
*.part {<br />
			 handler = echo ignoring file: %%<br />
}<br />
   application/pdf {</p>
<p>     handler = mv %% ~/Desktop/pdf<br />
}<br />
   }<br />
}</p>
<p>Fsniper can be run in <strong>daemon</strong> mode:</p>
<p><code>fsniper --daemon</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/utilities/fsniper/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>usermod, groupadd</title>
		<link>http://www.ecobuntu.org/operating-system/usermod-useradd-groupadd/</link>
		<comments>http://www.ecobuntu.org/operating-system/usermod-useradd-groupadd/#comments</comments>
		<pubDate>Thu, 12 Mar 2009 10:39:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Operating System]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=153</guid>
		<description><![CDATA[<br/>Add group with specfic id: # groupadd -g {gid} {group} Add existing user to existing group: # usermod -G {group} {username} Check to which group a user belong: # id -nG {username} Remove existing user to existing groups (group1,group2,group3.group4), e.g remove it from group3: # usermod -G {group1,group2,group4} {username}]]></description>
			<content:encoded><![CDATA[<br/><p><strong>Add group with specfic id:</strong><br />
<code># groupadd -g {gid} {group}</code></p>
<p><strong>Add  existing user to existing group:</strong><br />
<code># usermod -G {group} {username}</code><br />
<strong><br />
Check to which group a user belong:</strong><br />
<code># id -nG {username}</code><br />
<strong><br />
Remove existing user to existing groups (group1,group2,group3.group4), e.g remove it from group3:</strong><br />
<code># usermod -G {group1,group2,group4} {username}</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/operating-system/usermod-useradd-groupadd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract sample dataset from a mysql database using mysqldump</title>
		<link>http://www.ecobuntu.org/database/social-networks-twitter-linkedin-facebook-digg-delicious-categories-cloud-computing-5-configuration-management-2-contribute-2-cpanel/</link>
		<comments>http://www.ecobuntu.org/database/social-networks-twitter-linkedin-facebook-digg-delicious-categories-cloud-computing-5-configuration-management-2-contribute-2-cpanel/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 03:07:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.ecobuntu.org/?p=45</guid>
		<description><![CDATA[<br/>mysqldump --opt --where="true LIMIT 1000000" mydb &#62; mydb1M.sql On 1 specific table: mysqldump --opt --where="true LIMIT 1000000" mydb mytable &#62; mydb_mytable_1M.sql Restore: mysql -p mydb_1 &#60; mydb1M.sql]]></description>
			<content:encoded><![CDATA[<br/><p><code>mysqldump --opt --where="true LIMIT 1000000" mydb &gt; mydb1M.sql</code></p>
<ul>
On 1 specific table:</ul>
<pre><code>mysqldump --opt --where="true LIMIT 1000000" mydb mytable &gt; mydb_mytable_1M.sql</code></pre>
<ul>
Restore:</ul>
<p><code>mysql -p mydb_1 &lt; mydb1M.sql</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ecobuntu.org/database/social-networks-twitter-linkedin-facebook-digg-delicious-categories-cloud-computing-5-configuration-management-2-contribute-2-cpanel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

