<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="https://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="https://wellformedweb.org/CommentAPI/"
	xmlns:dc="https://purl.org/dc/elements/1.1/"
	xmlns:atom="https://www.w3.org/2005/Atom"
	xmlns:sy="https://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tips and Tricks &#187; Linux</title>
	<atom:link href="/blog/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>https://legend.ws/blog</link>
	<description>Find useful tips and tricks related to your every day techy needs</description>
	<lastBuildDate>Mon, 02 May 2011 10:08:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Deleting a file starting with a hypen on Linux</title>
		<link>https://legend.ws/blog/tips-tricks/deleting-a-file-starting-with-a-hypen-on-linux/</link>
		<comments>https://legend.ws/blog/tips-tricks/deleting-a-file-starting-with-a-hypen-on-linux/#comments</comments>
		<pubDate>Mon, 02 May 2011 10:08:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/?p=147</guid>
		<description><![CDATA[You might have come across a difficulty in deleting a file in Linux whose name starts with a dash/hyphen. Adding an escape character (e.g. rm -rf \-filename) or quoting the file name (e.g. rm -rf &#8220;-filename&#8221;) will not do the job. The solution is simple: explicitly provide the full or relative path to the file. [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/deleting-a-file-starting-with-a-hypen-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: finding files modified or accessed at a certain time</title>
		<link>https://legend.ws/blog/tips-tricks/linux-finding-files-modified-or-accessed-at-a-certain-time/</link>
		<comments>https://legend.ws/blog/tips-tricks/linux-finding-files-modified-or-accessed-at-a-certain-time/#comments</comments>
		<pubDate>Sun, 20 Feb 2011 19:10:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[files]]></category>
		<category><![CDATA[find]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[range]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/?p=136</guid>
		<description><![CDATA[The &#8216;find&#8217; utility is quite handy when used with the proper parameters. Below is a few ways to find files/folders based on the time they were accessed or modified. Example 1: find /path/to/folder -type f -name &#8220;*.txt&#8221; -mtime -5 This will find &#8216;files&#8217; (-type f) within the folder /path/to/folder (or one of its sub directories), [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/linux-finding-files-modified-or-accessed-at-a-certain-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Traffic forwarding on linux using IPTABLES</title>
		<link>https://legend.ws/blog/tips-tricks/traffic-forwarding-on-linux-using-iptables/</link>
		<comments>https://legend.ws/blog/tips-tricks/traffic-forwarding-on-linux-using-iptables/#comments</comments>
		<pubDate>Mon, 18 May 2009 08:24:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[NAT]]></category>
		<category><![CDATA[packets]]></category>
		<category><![CDATA[rules]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[UDP]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/?p=100</guid>
		<description><![CDATA[IPTables allows you to easily setup rules for packet filtering/forwarding. So, to keep it short and simple: assume you&#8217;d like to forward any traffic coming to your machine (192.168.0.1) on port 80 to machine2 (192.168.0.2) on port 8080 then: - Enable port forwarding: echo 1 &#62; /proc/sys/net/ipv4/ip_forward - Now add the rules: iptables -t nat [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/traffic-forwarding-on-linux-using-iptables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL password hashing</title>
		<link>https://legend.ws/blog/tips-tricks/mysql-password-hashing/</link>
		<comments>https://legend.ws/blog/tips-tricks/mysql-password-hashing/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 18:55:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[hashing]]></category>
		<category><![CDATA[migration]]></category>
		<category><![CDATA[mysql 4]]></category>
		<category><![CDATA[mysql 5]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/?p=35</guid>
		<description><![CDATA[Whenever you upgrade your MySQL installation, make sure to upgrade any client that uses it. In some cases, clients that use a version prior to 4.1 will have a problem authenticating against the MySQL database if the latter has a post 4.1 version. The trick is that after 4.1 (i.e. 4.11 and up), MySQL changed [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/mysql-password-hashing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting rid of the ^M characters in vi</title>
		<link>https://legend.ws/blog/linux/removing-the-m-character-in-vim/</link>
		<comments>https://legend.ws/blog/linux/removing-the-m-character-in-vim/#comments</comments>
		<pubDate>Thu, 01 Jan 2009 18:53:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/?p=29</guid>
		<description><![CDATA[If you&#8217;re a regular vi user, you may have noticed that some files, when being edited in vi, contain ^M characters at line ends. This usually happens when you edit a file using certain windows-editors, then transfer it to your *nix machine. Luckily, it is easily to get rid of this control character. While in [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/linux/removing-the-m-character-in-vim/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Using vi to replace a string in multiple files</title>
		<link>https://legend.ws/blog/tips-tricks/replace-text-in-multiple-files/</link>
		<comments>https://legend.ws/blog/tips-tricks/replace-text-in-multiple-files/#comments</comments>
		<pubDate>Sat, 09 Aug 2008 19:58:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/tips-tricks/replace-text-in-multiple-files/</guid>
		<description><![CDATA[Sometime you may want to replace occurences of a string across multiple files. There is an easy way to do so with the help of the vi editor. This example will illustrate the power of vi: Suppose you have 100 .html files, and you want to replace the occurence of the string &#8217;2007&#8242; with &#8217;2008&#8242;. [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/replace-text-in-multiple-files/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Linux file permissions explained</title>
		<link>https://legend.ws/blog/tips-tricks/linux-file-permissions-explained/</link>
		<comments>https://legend.ws/blog/tips-tricks/linux-file-permissions-explained/#comments</comments>
		<pubDate>Mon, 17 Dec 2007 00:11:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/tips-tricks/linux-file-permissions-explained/</guid>
		<description><![CDATA[Some people may not be very knowledgeable about *nix file permissions, and what they mean, so this is intended to be some sort of a guide. Any file or folder has a permission associated to it. Look at it as: &#8216;who has the power over this file/folder, and what kind of power does he have&#8217;. [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/linux-file-permissions-explained/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using iptables in order to share an internet connection</title>
		<link>https://legend.ws/blog/tips-tricks/iptables-internet-connection-sharing/</link>
		<comments>https://legend.ws/blog/tips-tricks/iptables-internet-connection-sharing/#comments</comments>
		<pubDate>Thu, 09 Nov 2006 22:40:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">https://legend.ws/blog/iptables-internet-connection-sharing/</guid>
		<description><![CDATA[Many users run small networks, be it at home or work. One of the widely used techniques for sharing the internet connection over a small local area network is Microsoft&#8217;s ICS (Internet Connection Sharing). What if the main server is not running windows? Some prefer to opt for linux, and run several services that benefit [...]]]></description>
		<wfw:commentRss>https://legend.ws/blog/tips-tricks/iptables-internet-connection-sharing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
