<?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/"
	xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Linux Administration Notes &#38; Code Snippets</title>
	<atom:link href="http://linuxconfig.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://linuxconfig.wordpress.com</link>
	<description></description>
	<lastBuildDate>Wed, 12 Nov 2008 21:27:28 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='linuxconfig.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/66432166ec60f0d247a931bccfcde4c2?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Linux Administration Notes &#38; Code Snippets</title>
		<link>http://linuxconfig.wordpress.com</link>
	</image>
			<item>
		<title>Google offers free Mysql database</title>
		<link>http://linuxconfig.wordpress.com/2008/11/12/google-offers-free-mysql-database/</link>
		<comments>http://linuxconfig.wordpress.com/2008/11/12/google-offers-free-mysql-database/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 21:27:28 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Fun and Linux]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[search engine]]></category>

		<guid isPermaLink="false">http://linuxconfig.wordpress.com/?p=115</guid>
		<description><![CDATA[Search engine is very powerful tool but not just for search but also for beginner hacking. Some mysqladmin web tools are indexed with google which make them available for search. By searching with keywords:

“phpMyAdmin” “running on” inurl:”main.php” site:com
“phpMyAdmin” “running on” inurl:”main.php” site:org
or
“phpMyAdmin” “running on” inurl:”main.php” site:net
etc.
we can get a results for all google indexed mysqladmin. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=115&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Search engine is very powerful tool but not just for search but also for beginner hacking. Some mysqladmin web tools are indexed with google which make them available for search. By searching with keywords:<br />
<code><br />
“phpMyAdmin” “running on” inurl:”main.php” site:com</code><br />
<code>“phpMyAdmin” “running on” inurl:”main.php” site:org</code><br />
or<br />
<code>“phpMyAdmin” “running on” inurl:”main.php” site:net</code><br />
etc.</p>
<p>we can get a results for all google indexed mysqladmin. Since not all of them are secured by the password you can get lucky and find some which are free to use.</p>
Posted in Fun and Linux Tagged: google, mysql, search engine <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/115/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/115/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/115/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=115&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/11/12/google-offers-free-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Display date-clock with simple bash command and while loop</title>
		<link>http://linuxconfig.wordpress.com/2008/11/02/display-date-clock-with-simple-bash-command-and-while-loop/</link>
		<comments>http://linuxconfig.wordpress.com/2008/11/02/display-date-clock-with-simple-bash-command-and-while-loop/#comments</comments>
		<pubDate>Sun, 02 Nov 2008 22:25:55 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://linuxconfig.wordpress.com/?p=113</guid>
		<description><![CDATA[Here is a simple example on how to display date/watch with simple bash command:

$ while true; do clear; date; sleep 1; done
Posted in Administration, Bash, Commands, Linux, Scripting Tagged: Bash, command line, Linux      <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=113&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a simple example on how to display date/watch with simple bash command:<br />
<code><br />
$ while true; do clear; date; sleep 1; done</code></p>
Posted in Administration, Bash, Commands, Linux, Scripting Tagged: Bash, command line, Linux <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=113&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/11/02/display-date-clock-with-simple-bash-command-and-while-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>List only hidden files with ls command</title>
		<link>http://linuxconfig.wordpress.com/2008/10/19/list-only-hidden-files-with-ls-command/</link>
		<comments>http://linuxconfig.wordpress.com/2008/10/19/list-only-hidden-files-with-ls-command/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 01:32:38 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Commands]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[command line]]></category>

		<guid isPermaLink="false">http://linuxconfig.wordpress.com/?p=110</guid>
		<description><![CDATA[We all know how to list non-hidden and hidden files with ls command on shell. However I could not find out how to list only hidden files ( starting with &#8220;.&#8221; ) with only ls command. One, but not complete solution could by to using TAB key. For example ls . and pressing 2xTAB will [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=110&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>We all know how to list non-hidden and hidden files with ls command on shell. However I could not find out how to list only hidden files ( starting with &#8220;.&#8221; ) with only ls command. One, but not complete solution could by to using TAB key. For example ls . and pressing 2xTAB will display only hidden files. It seem that we need to call for help grep command:<br />
<code><br />
ls -a mydir/ | grep '^\.'</code></p>
<p>If anyone knows how to do this trick with only ls command please let me know.</p>
Posted in Commands, Linux Tagged: command line <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/110/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/110/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/110/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=110&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/10/19/list-only-hidden-files-with-ls-command/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Extract STDERR and redirect STDOUT to /dev/null with bash</title>
		<link>http://linuxconfig.wordpress.com/2008/10/19/extract-stderr-redirect-stdout-to-devnull-bash/</link>
		<comments>http://linuxconfig.wordpress.com/2008/10/19/extract-stderr-redirect-stdout-to-devnull-bash/#comments</comments>
		<pubDate>Sun, 19 Oct 2008 00:18:51 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripting]]></category>
		<category><![CDATA[bash syntax]]></category>

		<guid isPermaLink="false">http://linuxconfig.wordpress.com/?p=102</guid>
		<description><![CDATA[I always keep forgetting this bash syntax redirection. This is because of my short memory and also because I do not use it often. In many cases we need to remove a STDERR from the command output and keep only STDOUT. On the other hand there are times that we want to see STDERR and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=102&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I always keep forgetting this bash syntax redirection. This is because of my short memory and also because I do not use it often. In many cases we need to remove a STDERR from the command output and keep only STDOUT. On the other hand there are times that we want to see STDERR and remove STDOUT.  Here is how to do it:<br />
<code><br />
$ BASH-COMMAND 2&gt;&amp;1 &gt; /dev/null</code></p>
Posted in Administration, Bash, Linux, Scripting Tagged: bash syntax <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=102&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/10/19/extract-stderr-redirect-stdout-to-devnull-bash/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Lost screen resolution after restart with ubuntu and nvidia</title>
		<link>http://linuxconfig.wordpress.com/2008/10/06/lost-screen-resolution-restart-ubuntu-nvidia/</link>
		<comments>http://linuxconfig.wordpress.com/2008/10/06/lost-screen-resolution-restart-ubuntu-nvidia/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 00:46:25 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[KDE]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=101</guid>
		<description><![CDATA[I have been using my current kubuntu installation for many months already and I never had a problem with my nvidia driver settings except today. From no apparent reason I have started my linux box and my default and maximum resolution was 1024&#215;768 instead my standard 1680&#215;1050. I have tried reinstall envy packages, doing dpkg-reconfigure [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=101&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I have been using my current kubuntu installation for many months already and I never had a problem with my nvidia driver settings except today. From no apparent reason I have started my linux box and my default and maximum resolution was 1024&#215;768 instead my standard 1680&#215;1050. I have tried reinstall envy packages, doing dpkg-reconfigure xserver-xorg and nothing helped.</p>
<p>Only what helped what that I manually configured xorg.conf file and changed from:<br />
<code><br />
SubSection "Display"<br />
Depth   24<br />
EndSubSection</code></p>
<p>to:</p>
<p><code> SubSection "Display"<br />
Depth   24<br />
Modes   "1680x1050"<br />
EndSubSection</code></p>
<p>This solution is still mistery to me. May someone know the answer to this riddle please let me know.</p>
<p>System: Kubuntu Hardy, Nvidia 8800 Ultra</p>
Posted in Administration, KDE, Linux  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/101/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/101/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/101/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=101&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/10/06/lost-screen-resolution-restart-ubuntu-nvidia/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Recreating z25_persistent-net.rules file manually on debian</title>
		<link>http://linuxconfig.wordpress.com/2008/09/03/recreating-z25_persistent-netrules-file-manually-on-debian/</link>
		<comments>http://linuxconfig.wordpress.com/2008/09/03/recreating-z25_persistent-netrules-file-manually-on-debian/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 00:20:04 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[udev]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=100</guid>
		<description><![CDATA[If from some reason you need to recreate networking udev z25 rules file you would use the following cammed to achieve that:
/lib/udev/write_net_rules all_interfaces
this will recreate a z25_persistent-net.rules and include all interfaces.
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=100&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If from some reason you need to recreate networking udev z25 rules file you would use the following cammed to achieve that:</p>
<p><code>/lib/udev/write_net_rules all_interfaces</code></p>
<p>this will recreate a z25_persistent-net.rules and include all interfaces.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linuxconfig.wordpress.com/100/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linuxconfig.wordpress.com/100/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=100&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/09/03/recreating-z25_persistent-netrules-file-manually-on-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>List all files and directories recursively but do not include full path</title>
		<link>http://linuxconfig.wordpress.com/2008/08/10/list-all-files-directorie-recursively-but-do-not-include-full-path/</link>
		<comments>http://linuxconfig.wordpress.com/2008/08/10/list-all-files-directorie-recursively-but-do-not-include-full-path/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 23:19:43 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=98</guid>
		<description><![CDATA[ls -R will list all files recursively. The output of such a command will produce a output containing not only a files but also full path the the each file or directory. One way to clean this output is to use grep and invert selection with -v option. Each path from ls -R command contains [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=98&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>ls -R will list all files recursively. The output of such a command will produce a output containing not only a files but also full path the the each file or directory. One way to clean this output is to use grep and invert selection with -v option. Each path from ls -R command contains &#8220;:&#8221; symbol and we can use grep command to invert selection based on &#8220;:&#8221; :</p>
<p><code>ls -R | grep -v :</code></p>
<p>this will list all files and directories only. However output will still produce a empty lines. This can be again removed by -v where we invert selection and remove all empty lines ^$</p>
<p><code>ls -R | grep -v | grep -v ^$</code></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linuxconfig.wordpress.com/98/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linuxconfig.wordpress.com/98/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=98&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/08/10/list-all-files-directorie-recursively-but-do-not-include-full-path/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>invalid byte sequence for encoding &#8220;UTF8&#8243;: 0&#215;8b &#8211; storing binary data</title>
		<link>http://linuxconfig.wordpress.com/2008/07/24/error-invalid-byte-sequence-encoding-utf8-0x8b-storing-binary-data/</link>
		<comments>http://linuxconfig.wordpress.com/2008/07/24/error-invalid-byte-sequence-encoding-utf8-0x8b-storing-binary-data/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 03:51:22 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[binary data]]></category>
		<category><![CDATA[encoding]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[retrieve]]></category>
		<category><![CDATA[storeage]]></category>
		<category><![CDATA[unicode]]></category>
		<category><![CDATA[utf8]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=97</guid>
		<description><![CDATA[This error message took me lots of effort and time to solve it. The problem is that before storing binary data strings in the postgresql database the binary strings need to be escaped before storing them. There is on the google available subroutine for per which is doing this job. It is called escape_bytea. Anyway [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=97&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This error message took me lots of effort and time to solve it. The problem is that before storing binary data strings in the postgresql database the binary strings need to be escaped before storing them. There is on the google available subroutine for per which is doing this job. It is called escape_bytea. Anyway here is a whole script on <a title="sotre binary data with perl in postgresql database" href="http://www.linuxconfig.org/Simple_Perl_example_how_to_store_and_retrieve_binary_file_in_and_from_the_postgresql_database" target="_blank">how to store and retrieve binary data with perl form PostgreSQL database.</a></p>
<p>the other solution which a have not tried yet is to encode them with<br />
Base64 Encoder Decoder<br />
http://perldoc.perl.org/MIME/Base64.html</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linuxconfig.wordpress.com/97/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linuxconfig.wordpress.com/97/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=97&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/07/24/error-invalid-byte-sequence-encoding-utf8-0x8b-storing-binary-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>vim &#8211; vi text editor tutorial</title>
		<link>http://linuxconfig.wordpress.com/2008/06/17/vim-vi-text-editor-tutorial-beginners-advance/</link>
		<comments>http://linuxconfig.wordpress.com/2008/06/17/vim-vi-text-editor-tutorial-beginners-advance/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 23:47:54 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Fun and Linux]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=96</guid>
		<description><![CDATA[Here is a very nice vim / vi text editor tutorial for beginnes as well as for more advanced users. Its very easy to follow as it has flash video attached to every section. vi editor tutorial
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=96&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Here is a very nice vim / vi text editor tutorial for beginnes as well as for more advanced users. Its very easy to follow as it has flash video attached to every section. <a title="vi editor tutorial" href="http://www.linuxconfig.org/Vim_Tutorial" target="_blank">vi editor tutorial</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linuxconfig.wordpress.com/96/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linuxconfig.wordpress.com/96/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=96&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/06/17/vim-vi-text-editor-tutorial-beginners-advance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
		<item>
		<title>Create and install linux debian package for missing perl module with dh-make-perl</title>
		<link>http://linuxconfig.wordpress.com/2008/06/13/create-install-linux-debian-package-missing-perl-module-dh-make-perl/</link>
		<comments>http://linuxconfig.wordpress.com/2008/06/13/create-install-linux-debian-package-missing-perl-module-dh-make-perl/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 23:27:35 +0000</pubDate>
		<dc:creator>linuxconfig</dc:creator>
				<category><![CDATA[Administration]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://blog.linuxconfig.org/?p=95</guid>
		<description><![CDATA[Sometimes you encounter situation when you need a perl module to support your program but perl module is not available from standard linux repositories. Installing perl module from source code is not always good idea so what would be the best is to create package for a particular module using dh-make-perl command. In my case [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=95&subd=linuxconfig&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Sometimes you encounter situation when you need a perl module to support your program but perl module is not available from standard linux repositories. Installing perl module from source code is not always good idea so what would be the best is to create package for a particular module using dh-make-perl command. In my case I was missing a poerl module Linux::Usermod and here is what I did:</p>
<p><code>apt-get install dh-make-perl</code></p>
<p>dh-make-perl &#8211;build &#8211;cpan Linux::Usermod</p>
<p>You will need to answer some simple questions if you are running cpan for a first time. At the end dh-make-perl will spit out a debian package and in my case it was: liblinux-usermod-perl_0.69-1_all.deb. All I need to do now is to just use dpkg to install this package:</p>
<p><code>dpkg -i liblinux-usermod-perl_0.69-1_all.deb</code></p>
<p>This is nice and clen way of dealing with missing perl packages since its also easy to uninstall it once its not needed.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/linuxconfig.wordpress.com/95/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/linuxconfig.wordpress.com/95/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/linuxconfig.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/linuxconfig.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/linuxconfig.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/linuxconfig.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/linuxconfig.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/linuxconfig.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/linuxconfig.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/linuxconfig.wordpress.com/95/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/linuxconfig.wordpress.com/95/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/linuxconfig.wordpress.com/95/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=linuxconfig.wordpress.com&blog=5115115&post=95&subd=linuxconfig&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://linuxconfig.wordpress.com/2008/06/13/create-install-linux-debian-package-missing-perl-module-dh-make-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/c79260bb263549d7517a9f08f4f98a49?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">linuxconfig</media:title>
		</media:content>
	</item>
	</channel>
</rss>