<?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>Anti HostMonster</title>
	<atom:link href="http://www.antihostmonster.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.antihostmonster.com</link>
	<description>Do not fool us</description>
	<lastBuildDate>Mon, 23 Jan 2012 12:42:58 +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>MySQL: Repair &amp; Optimize all Tables in all Databases</title>
		<link>http://www.antihostmonster.com/2011/09/mysql-repair-optimize-tables-databases/</link>
		<comments>http://www.antihostmonster.com/2011/09/mysql-repair-optimize-tables-databases/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 21:16:43 +0000</pubDate>
		<dc:creator>hismis</dc:creator>
				<category><![CDATA[Best Webhosts]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[Optimize]]></category>
		<category><![CDATA[Repair]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=264</guid>
		<description><![CDATA[MySQL tables can crash quite easily, especially when your server unexpectedly shuts down or crashed, or when you&#039;re forced to copy data around when it&#039;s still being accessed.
	Luckily, there&#039;s a simple command to automatically check, repair and optimize all tables in all databases when you&#039;re  [...]]]></description>
			<content:encoded><![CDATA[<p><span>MySQL tables can crash quite easily, especially when your server unexpectedly shuts down or crashed, or when you&#039;re forced to copy data around when it&#039;s still being accessed.</span></p>
<p>	<span>Luckily, there&#039;s a simple command to automatically check, repair and optimize all tables in all databases when you&#039;re running a MySQL server on Linux / Unix / BSD.</span></p>
<p></p>
<pre>mysqlcheck <span>-u</span> root <span>-p</span> <span>--auto-repair</span> <span>--check</span> <span>--optimize</span> <span>--all-databases</span></pre>
<p></p>
<p><span>That&#039;s all there is to it!</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/09/mysql-repair-optimize-tables-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Webhost</title>
		<link>http://www.antihostmonster.com/2011/09/best-webhost/</link>
		<comments>http://www.antihostmonster.com/2011/09/best-webhost/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 20:46:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Best Webhosts]]></category>
		<category><![CDATA[best shared webhost]]></category>
		<category><![CDATA[Best webhost]]></category>
		<category><![CDATA[cheap]]></category>
		<category><![CDATA[cheap webhost]]></category>
		<category><![CDATA[coupon]]></category>
		<category><![CDATA[Dedicated]]></category>
		<category><![CDATA[discount]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[dreamhost coupon]]></category>
		<category><![CDATA[dreamhost cupon]]></category>
		<category><![CDATA[dreamhost discount]]></category>
		<category><![CDATA[dreamhost promocode]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[Hostmonster]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[promotion]]></category>
		<category><![CDATA[promotional code]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[shared webhosting]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[suspend]]></category>
		<category><![CDATA[vps]]></category>
		<category><![CDATA[webhost]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=55</guid>
		<description><![CDATA[Our Recomended Webhost for the month:
DreamHost
With our promo take 50 USD OFF using promotional code: GIVE50GIFT
That gives you a One Year webhost for only 69.4USD
Please share you opinions if you think otherwise. 
Below is a table comparing popular webhosts and any hidden limtations they have. If  [...]]]></description>
			<content:encoded><![CDATA[<p>Our Recomended Webhost for the month:</p>
<h2><span style="color: #ffcc00;"><a href="http://www.dreamhost.com/r.cgi?249308" target="_blank">DreamHost</a></span></h2>
<h1><span style="font-family: 'trebuchet ms'; font-size: 12px; font-style: normal; line-height: normal; text-transform: none; font-weight: normal; font-variant: normal; color: #090909; word-spacing: 0px; letter-spacing: normal; text-align: left; text-indent: 0px; white-space: normal;">With our promo take 50 USD OFF using promotional code: <strong><span style="color: #ff0000;">GIVE50GIFT</span></strong></span></h1>
<p><strong><span style="border-collapse: separate; color: #eeeeee; font-family: 'trebuchet ms'; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span style="color: #ff0000;">That gives you a One Year webhost for only 69.4USD</span></span></strong></p>
<p><span style="color: #000;">Please share you opinions if you think otherwise. </span></p>
<p><span style="color: #000;">Below is a table comparing popular webhosts and any hidden limtations they have. If you have updates to this please comment.</span></p>
<table border="1" style="width: 564px; height: 479px;" width="564">
<tbody>
<tr>
<td><strong>Feature</strong></td>
<td><strong><a href="http://www.dreamhost.com/r.cgi?249308"><span style="font-size: 14px; color: #3399ff; text-decoration: underline;">Dreamhost</span></a></strong></td>
<td><strong><span style="font-size: 14px; color: #3399ff; text-decoration: underline;">Hostmonster</span></strong></td>
<td><strong><span style="color: #3399ff; text-decoration: underline;">GoDaddy (Delux)</span></strong></td>
</tr>
<tr>
<td><strong>Price/Month</strong></td>
<td>$9.95</td>
<td>$6.95</td>
<td>$6.99</td>
</tr>
<tr>
<td><strong>Price Promo 1yr</strong></td>
<td>$119.4-50=$69.4</td>
<td>Adhoc 5.95$x12=$71.4</td>
<td>$6.64&#215;12=$79.68</td>
</tr>
<tr>
<td><strong>Host Unlmited Domains</strong></td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td><strong>Hosting Space</strong></td>
<td>Unlimited</td>
<td>&quot;Unlimited&quot; but if high your account will be suspended</td>
<td>150GB</td>
</tr>
<tr>
<td><strong>Bandwidth</strong></td>
<td>Unlimited</td>
<td>Unlimited</td>
<td>1500GB</td>
</tr>
<tr>
<td><strong>SSH Access</strong></td>
<td>By Default</td>
<td>Need to send ID</td>
<td>Can be requested no ID needed</td>
</tr>
<tr>
<td><strong>CPU Limit</strong></td>
<td>No Limitation</td>
<td>60Sec then Site suspended</td>
<td>No Limitation</td>
</tr>
<tr>
<td><strong>Uptime</strong></td>
<td>99.9</td>
<td>99.9</td>
<td>99.9</td>
</tr>
<tr>
<td><strong>MYSQL Databases</strong></td>
<td>Unlimited</td>
<td>100</td>
<td>25</td>
</tr>
<tr>
<td><strong>Email Accounts</strong></td>
<td>Unlimited</td>
<td>Unlimited</td>
<td>Unlimited</td>
</tr>
<tr>
<td><strong>First Yr Domain Registration Free</strong></td>
<td>Yes</td>
<td>Yes</td>
<td>No</td>
</tr>
<tr>
<td><strong>Custom Cronjob</strong></td>
<td>Yes</td>
<td>Yes</td>
<td>Yes</td>
</tr>
<tr>
<td><strong>Tech Support</strong></td>
<td>Chat, Email Ticket system(response time: 1-24hours),Phone: only call back</td>
<td>Phone, Chat, Ticket(Response time 1-24 Hours)</td>
<td>Phone,Ticket(slow 1 Day response time)</td>
</tr>
<tr>
<td><strong>Install Custom PHP</strong></td>
<td><a href="http://sxi.sabrextreme.com/auto-installers">Yes Simple see article here</a></td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td><strong>FFMPEG</strong></td>
<td>Yes</td>
<td>No</td>
<td>No</td>
</tr>
<tr>
<td><strong>Max File Upload Size</strong></td>
<td>7MB, unlimited with Custom PHP install</td>
<td>2MB, can be increased with copying php to all folders, still limited with CPU time limit</td>
<td>7MB</td>
</tr>
<tr>
<td><strong>Can host Adult Content</strong></td>
<td>Yes</td>
<td>No</td>
<td>Yes</td>
</tr>
<tr>
<td><strong>Loading speed for a 64kb website size</strong></td>
<td>2-3 Seconds performance is stable since dreamhost upgraded to new servers</td>
<td>2-3 Seconds, performance was stable</td>
<td>5-6 Seconds</td>
</tr>
<tr>
<td><strong>Midnight Commander</strong></td>
<td>Installed by default</td>
<td>Not installed and can not install it</td>
<td>Not sure</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/09/best-webhost/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Webin Configuration</title>
		<link>http://www.antihostmonster.com/2011/07/webin-configuration/</link>
		<comments>http://www.antihostmonster.com/2011/07/webin-configuration/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 01:56:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Webmin]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=227</guid>
		<description><![CDATA[For security it is better to change the port in webmin from 10000 to another number to do this change that in webmin.
Login to webmin
Under Webmin&#62;Webmin Configuration&#62;Ports and Addresses
Under Listen on port: choose a 5 digit number.
&#160;
Then in ssh root
you need to allow the new port
&#160;
with the  [...]]]></description>
			<content:encoded><![CDATA[<p>For security it is better to change the port in webmin from 10000 to another number to do this change that in webmin.</p>
<p>Login to webmin</p>
<p>Under Webmin&gt;Webmin Configuration&gt;Ports and Addresses</p>
<p>Under Listen on port: choose a 5 digit number.</p>
<p>&nbsp;</p>
<p>Then in ssh root</p>
<p>you need to allow the new port</p>
<p>&nbsp;</p>
<p>with the command:</p>
<p>system-config-securitylevel-tui</p>
<p>&nbsp;</p>
<p>Use tab to get to Customize then add your port.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/07/webin-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic vi Commands</title>
		<link>http://www.antihostmonster.com/2011/07/basic-vi-commands/</link>
		<comments>http://www.antihostmonster.com/2011/07/basic-vi-commands/#comments</comments>
		<pubDate>Sun, 10 Jul 2011 02:26:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SSH Commands]]></category>
		<category><![CDATA[avoid]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tar]]></category>
		<category><![CDATA[vi editor]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=219</guid>
		<description><![CDATA[




Basic vi Commands






What is vi?

The default editor that comes with the UNIX operating system is called vi (visual editor). [Alternate editors for UNIX environments include pico and emacs, a product of GNU.] 
The UNIX vi editor is a full screen editor and has two modes of  [...]]]></description>
			<content:encoded><![CDATA[<table width="98%">
<tbody>
<tr>
<td align="LEFT"></td>
<td align="RIGHT">
<h1 align="RIGHT"><span style="color: navy;">Basic vi Commands</span></h1>
</td>
</tr>
</tbody>
</table>
<hr noshade="noshade" />
<hr noshade="noshade" />
<h3>What is <tt>vi</tt>?</h3>
<dl>
<dd>The default editor that comes with the UNIX operating system is called <tt>vi</tt> (<strong>vi</strong>sual editor). [Alternate editors for UNIX environments include <tt>pico</tt> and <tt>emacs</tt>, a product of GNU.] </dd>
<dd>The UNIX <tt>vi</tt> editor is a full screen editor and has two modes of operation:</p>
<ol>
<li><em>Command mode</em> commands which cause action to be taken on the file, and</li>
<li><em>Insert mode</em> in which entered text is inserted into the file.</li>
</ol>
<p>In the command mode, every character typed is a command that does something to the text file being edited; a character typed in the command mode may even cause the <tt>vi</tt> editor to enter the insert mode. In the insert mode, every character typed is added to the text in the file; pressing the <tt>&lt;Esc&gt;</tt> (<em>Escape</em>) key turns off the Insert mode.</p>
</dd>
<dd>While there are a number of <tt>vi</tt> commands, just a handful of these is usually sufficient for beginning <tt>vi</tt> users. To assist such users, this Web page contains a sampling of basic <tt>vi</tt> commands. The most basic and useful commands are marked with an asterisk (<tt>*</tt> or star) in the tables below. With practice, these commands should become automatic. </dd>
<dd><strong>NOTE:</strong> Both UNIX and <tt>vi</tt> are <strong>case-sensitive</strong>. Be sure not to use a capital letter in place of a lowercase letter; the results will not be what you expect.</dd>
</dl>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>To Get Into and Out Of <tt>vi</tt></h3>
<p>&nbsp;</p>
<h4>To Start <tt>vi</tt></h4>
<p>&nbsp;</p>
<dl>
<dd>To use <tt>vi</tt> on a file, type in <tt>vi filename</tt>. If the file named <tt>filename</tt> exists, then the first page (or screen) of the file will be displayed; if the file does not exist, then an empty file and screen are created into which you may enter text.</dd>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT"><tt>vi filename</tt></th>
<td><em>edit <tt>filename</tt> starting at line 1</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>vi -r filename</tt></th>
<td><em>recover <tt>filename</tt> that was being edited when system crashed</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>To Exit <tt>vi</tt></h4>
<p>&nbsp;</p>
<dl>
<dd>Usually the new or modified file is saved when you leave <tt>vi</tt>. However, it is also possible to quit <tt>vi</tt> without saving the file. </dd>
<dd><strong>Note:</strong> The cursor moves to bottom of screen whenever a colon (<tt>:</tt>) is typed. This type of command is completed by hitting the <tt>&lt;Return&gt;</tt> (or <tt>&lt;Enter&gt;</tt>) key.</dd>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT"><tt>: x</tt><tt>&lt;Return&gt;</tt></th>
<td><em>quit <tt>vi</tt>, writing out modified file to file named in original invocation</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>:wq</tt><tt>&lt;Return&gt;</tt></th>
<td><em>quit <tt>vi</tt>, writing out modified file to file named in original invocation</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>:q</tt><tt>&lt;Return&gt;</tt></th>
<td><em>quit (or exit) <tt>vi</tt></em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT"><tt>:q!</tt><tt>&lt;Return&gt;</tt></th>
<td><em>quit <tt>vi</tt> even though latest changes have not been saved for this <tt>vi</tt> call</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>Moving the Cursor</h3>
<p>&nbsp;</p>
<dl>
<dd>Unlike many of the PC and MacIntosh editors, <strong>the mouse does not move the cursor</strong> within the <tt>vi</tt> editor screen (or window). You must use the the key commands listed below. On some UNIX platforms, the arrow keys may be used as well; however, since <tt>vi</tt> was designed with the Qwerty keyboard (containing no arrow keys) in mind, the arrow keys sometimes produce strange effects in <tt>vi</tt> and should be avoided. </dd>
<dd>If you go back and forth between a PC environment and a UNIX environment, you may find that this dissimilarity in methods for cursor movement is the most frustrating difference between the two. </dd>
<dd>In the table below, the symbol <tt>^</tt> before a letter means that the <tt>&lt;Ctrl&gt;</tt> key should be held down while the letter key is pressed.</dd>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT"><tt>j</tt> <em>or</em> <tt>&lt;Return&gt;</tt><br />
[<em>or</em> down-arrow]</th>
<td><em>move cursor down one line</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT"><tt>k</tt> [<em>or</em> up-arrow]</th>
<td><em>move cursor up one line</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT"><tt>h</tt> <em>or</em> <tt>&lt;Backspace&gt;</tt><br />
[<em>or</em> left-arrow]</th>
<td><em>move cursor left one character</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT"><tt>l</tt> <em>or</em> <tt>&lt;Space&gt;</tt><br />
[<em>or</em> right-arrow]</th>
<td><em>move cursor right one character</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>0</tt> (zero)</th>
<td><em>move cursor to start of current line (the one with the cursor)</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>$</tt></th>
<td><em>move cursor to end of current line</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>w</tt></th>
<td><em>move cursor to beginning of next word</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>b</tt></th>
<td><em>move cursor back to beginning of preceding word</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:0</tt><tt>&lt;Return&gt; <em>or</em> 1G</tt></th>
<td><em>move cursor to first line in file</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:n</tt><tt>&lt;Return&gt; <em>or</em> nG</tt></th>
<td><em>move cursor to line <tt>n</tt></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>:$</tt><tt>&lt;Return&gt; <em>or</em> G</tt></th>
<td><em>move cursor to last line in file</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>Screen Manipulation</h3>
<p>&nbsp;</p>
<dl>
<dd>The following commands allow the <tt>vi</tt> editor screen (or window) to move up or down several lines and to be refreshed.</dd>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^f</tt></th>
<td><em>move forward one screen</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^b</tt></th>
<td><em>move backward one screen</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^d</tt></th>
<td><em>move down (forward) one half screen</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^u</tt></th>
<td><em>move up (back) one half screen</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^l</tt></th>
<td><em>redraws the screen</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^r</tt></th>
<td><em>redraws the screen, removing deleted lines</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>Adding, Changing, and Deleting Text</h3>
<p>&nbsp;</p>
<dl>
<dd>Unlike PC editors, you cannot replace or delete text by highlighting it with the mouse. Instead use the commands in the following tables. </dd>
<dd>Perhaps the most important command is the one that allows you to back up and <em>undo</em> your last action. Unfortunately, this command acts like a toggle, undoing and redoing your most recent action. You cannot go back more than one step.</dd>
</dl>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>u</tt></th>
<td><em>UNDO WHATEVER YOU JUST DID; a simple toggle</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<dl>
<dd>The main purpose of an editor is to create, add, or modify text for a file. </dd>
</dl>
<h4>Inserting or Adding Text</h4>
<p>&nbsp;</p>
<dl>
<dd>The following commands allow you to insert and add text. Each of these commands puts the <tt>vi</tt> editor into insert mode; thus, the <tt>&lt;Esc&gt;</tt> key must be pressed to terminate the entry of text and to put the <tt>vi</tt> editor back into command mode. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>i</tt></th>
<td><em>insert text before cursor, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>I</tt></th>
<td><em>insert text at beginning of current line, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>a</tt></th>
<td><em>append text after cursor, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>A</tt></th>
<td><em>append text to end of current line, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>o</tt></th>
<td><em>open and put text in a new line below current line, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>O</tt></th>
<td><em>open and put text in a new line above current line, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>Changing Text</h4>
<p>&nbsp;</p>
<dl>
<dd>The following commands allow you to modify text. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>r</tt></th>
<td><em>replace single character under cursor (no <tt>&lt;Esc&gt;</tt> needed)</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>R</tt></th>
<td><em>replace characters, starting with current cursor position, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>cw</tt></th>
<td><em>change the current word with new text,<br />
starting with the character under cursor, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>cNw</tt></th>
<td><em>change <tt>N</tt> words beginning with character under cursor, until <tt>&lt;Esc&gt;</tt> hit;<br />
e.g., <tt>c5w</tt> changes 5 words</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>C</tt></th>
<td><em>change (replace) the characters in the current line, until <tt>&lt;Esc&gt;</tt> hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>cc</tt></th>
<td><em>change (replace) the entire current line, stopping when <tt>&lt;Esc&gt;</tt> is hit</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>Ncc</tt> <em>or</em> <tt>cNc</tt></th>
<td><em>change (replace) the next N lines, starting with the current line,<br />
stopping when <tt>&lt;Esc&gt;</tt> is hit</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>Deleting Text</h4>
<p>&nbsp;</p>
<dl>
<dd>The following commands allow you to delete text. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>x</tt></th>
<td><em>delete single character under cursor</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>Nx</tt></th>
<td><em>delete N characters, starting with character under cursor</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>dw</tt></th>
<td><em>delete the single word beginning with character under cursor</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>dNw</tt></th>
<td><em>delete <tt>N</tt> words beginning with character under cursor;<br />
e.g., <tt>d5w</tt> deletes 5 words</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>D</tt></th>
<td><em>delete the remainder of the line, starting with current cursor position</em></td>
</tr>
<tr>
<th>*</th>
<th align="LEFT" nowrap="nowrap"><tt>dd</tt></th>
<td><em>delete entire current line</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>Ndd</tt> <em>or</em> <tt>dNd</tt></th>
<td><em>delete <tt>N</tt> lines, beginning with the current line;<br />
e.g., <tt>5dd</tt> deletes 5 lines</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>Cutting and Pasting Text</h4>
<p>&nbsp;</p>
<dl>
<dd>The following commands allow you to copy and paste text. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>yy</tt></th>
<td><em>copy (yank, cut) the current line into the buffer</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>Nyy</tt> <em>or</em> <tt>yNy</tt></th>
<td><em>copy (yank, cut) the next N lines, including the current line, into the buffer</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>p</tt></th>
<td><em>put (paste) the line(s) in the buffer into the text after the current line</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>Other Commands</h3>
<p>&nbsp;</p>
<h4>Searching Text</h4>
<p>&nbsp;</p>
<dl>
<dd>A common occurrence in text editing is to replace one word or phase by another. To locate instances of particular sets of characters (or strings), use the following commands. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th></th>
<th align="LEFT"><tt>/string</tt></th>
<td><em>search forward for occurrence of <tt>string</tt> in text<em></em></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>?string</tt></th>
<td><em>search backward for occurrence of <tt>string</tt> in text<em></em></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>n</tt></th>
<td><em>move to next occurrence of search string</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>N</tt></th>
<td><em>move to next occurrence of search string in opposite direction</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<h4>Determining Line Numbers</h4>
<p>&nbsp;</p>
<dl>
<dd>Being able to determine the line number of the current line or the total number of lines in the file being edited is sometimes useful. </dd>
</dl>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th></th>
<th align="LEFT"><tt>:.=</tt></th>
<td><em>returns line number of current line at bottom of screen<em></em></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT"><tt>:=</tt></th>
<td><em>returns the total number of lines at bottom of screen<em></em></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>^g</tt></th>
<td><em>provides the current line number, along with the total number of lines,<br />
in the file at the bottom of the screen</em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<p>&nbsp;</p>
<h3>Saving and Reading Files</h3>
<p>These commands permit you to input and output files other than the named file with which you are currently working.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<table border="">
<tbody>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:r filename</tt><tt>&lt;Return&gt;</tt></th>
<td><em>read file named <tt>filename</tt> and insert after current line<br />
(the line with cursor)</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:w</tt><tt>&lt;Return&gt;</tt></th>
<td><em>write current contents to file named in original <tt>vi</tt> call</em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:w newfile</tt><tt>&lt;Return&gt;</tt></th>
<td><em>write current contents to a new file named <tt>newfile</tt></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:12,35w smallfile</tt><tt>&lt;Return&gt;</tt></th>
<td><em>write the contents of the lines numbered 12 through 35 to a new file named <tt>smallfile</tt></em></td>
</tr>
<tr>
<th></th>
<th align="LEFT" nowrap="nowrap"><tt>:w! prevfile</tt><tt>&lt;Return&gt;</tt></th>
<td><em>write current contents over a pre-existing file named <tt>prevfile</tt></em></td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<hr noshade="noshade" />
<hr noshade="noshade" />
<p><span style="font-size: xx-small;"><strong>Source cs.colostate.edu</strong></span></p>
<hr noshade="noshade" />
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/07/basic-vi-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH Vi editor commands</title>
		<link>http://www.antihostmonster.com/2011/06/ssh-vi-editor-commants/</link>
		<comments>http://www.antihostmonster.com/2011/06/ssh-vi-editor-commants/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 22:28:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[SSH Commands]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[vi editor]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=214</guid>
		<description><![CDATA[To exit&#8230;
vi &#8211; press escape to get into command mode if you re not already in command mode (if you are, it s OK to press it anyway). :q to quit :w to save, :wq to do both.
emacs &#8211; ^X^S to save, ^X^C to quit
]]></description>
			<content:encoded><![CDATA[<p>To exit&#8230;</p>
<p>vi &#8211; press escape to get into command mode if you re not already in command mode (if you are, it s OK to press it anyway). :q to quit :w to save, :wq to do both.</p>
<p>emacs &#8211; ^X^S to save, ^X^C to quit</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/06/ssh-vi-editor-commants/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrading PHP version on Centos from 2.5.10 to</title>
		<link>http://www.antihostmonster.com/2011/06/upgrading-php-version-centos-2-5-10/</link>
		<comments>http://www.antihostmonster.com/2011/06/upgrading-php-version-centos-2-5-10/#comments</comments>
		<pubDate>Wed, 22 Jun 2011 05:24:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[SSH Commands]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=209</guid>
		<description><![CDATA[FIREWALL[root@CentOS-56-64-minimal ~]# system-config-securitylevel-tui
WEBMIN&#62;SYSTEM&#62; SOFTWARE PACKAGES search for php
&#160;
Solution in Centos 5 and Fedora 9:
Through SSH:
yum search mbstring
yum install php-mbstring
/etc/init.d/httpd restart
INCREASE MYSQL MEMORY
vi /etc/my.cnf
]]></description>
			<content:encoded><![CDATA[<p>FIREWALL[root@CentOS-56-64-minimal ~]# system-config-securitylevel-tui<br />
WEBMIN&gt;SYSTEM&gt; SOFTWARE PACKAGES search for php</p>
<p>&nbsp;</p>
<p>Solution in Centos 5 and Fedora 9:</p>
<p><strong>Through SSH:</strong><br />
<code>yum search mbstring</code></p>
<p><code>yum install php-mbstring</code></p>
<p><code>/etc/init.d/httpd restart</code></p>
<p>INCREASE MYSQL MEMORY</p>
<p>vi /etc/my.cnf</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/06/upgrading-php-version-centos-2-5-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Skype on HTC HD2</title>
		<link>http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/</link>
		<comments>http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 04:39:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[HTC HD2]]></category>
		<category><![CDATA[Skype]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[T-mobile]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=198</guid>
		<description><![CDATA[If you are on this page you probably have an HTC HD2 phone and looking to install Skype on it. There are a lot of forums about how compatible is Skype with windows 6.5 and most of them say that it was.. but Skype stopped supporting windows 6.5. Yet seems that Skype works fine on my HTC HD2 Windows  [...]]]></description>
			<content:encoded><![CDATA[<p>If you are on this page you probably have an HTC HD2 phone and looking to install Skype on it. There are a lot of forums about how compatible is Skype with windows 6.5 and most of them say that it was.. but Skype stopped supporting windows 6.5. Yet seems that Skype works fine on my HTC HD2 Windows 6.5 from T-mobile.  The installation was simple just unzip and upload the CAB file.<a href="http://www.antihostmonster.com/wp-content/uploads/2011/06/SkypeWM_v3.0.0.256.zip">SkypeWM_v3.0.0.256</a></p>
<p>After installing it took some time to login. I turned on Wifi and it worked. First it asked me to use headsets. I did not&#8230; So I could not hear the other side but they could hear me.</p>
<p>&nbsp;</p>
<p>Plugged in the Headset and it worked. I also turned off the Wifi and still worked.  I am glad it works fine was at the point of installing Android on my HTC HD2. Lets hope now that Microsoft bought Skype it will run on MS and will be supported. Still dont understand why Skype is not supporting it anymore &#8230;</p>
<p style="text-align: center;">
<p>Only thing you should be careful with is your Data plan as the traffic may eat up your 200mb limit if you are not on a bigger plan</p>
<p>&nbsp;</p>

<a href='http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/imag0711/' title='IMAG0711'><img width="150" height="150" src="http://www.antihostmonster.com/wp-content/uploads/2011/06/IMAG0711-150x150.jpg" class="attachment-thumbnail" alt="IMAG0711" title="IMAG0711" /></a>
<a href='http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/imag0712/' title='IMAG0712'><img width="150" height="150" src="http://www.antihostmonster.com/wp-content/uploads/2011/06/IMAG0712-e1308371893986-150x150.jpg" class="attachment-thumbnail" alt="IMAG0712" title="IMAG0712" /></a>
<a href='http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/imag0713/' title='IMAG0713'><img width="150" height="150" src="http://www.antihostmonster.com/wp-content/uploads/2011/06/IMAG0713-150x150.jpg" class="attachment-thumbnail" alt="IMAG0713" title="IMAG0713" /></a>

]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/06/installing-skype-htc-hd2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSH how to empty a text file?</title>
		<link>http://www.antihostmonster.com/2011/06/ssh-empty-text-file/</link>
		<comments>http://www.antihostmonster.com/2011/06/ssh-empty-text-file/#comments</comments>
		<pubDate>Mon, 13 Jun 2011 06:59:54 +0000</pubDate>
		<dc:creator>hismis</dc:creator>
				<category><![CDATA[SSH Commands]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=193</guid>
		<description><![CDATA[just copy /dev/null to that file. eg: cp /dev/null &#60;filename&#62;
]]></description>
			<content:encoded><![CDATA[<p>just copy /dev/null to that file. eg: cp /dev/null &lt;filename&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/06/ssh-empty-text-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paypal Fraud</title>
		<link>http://www.antihostmonster.com/2011/04/paypal-fraud/</link>
		<comments>http://www.antihostmonster.com/2011/04/paypal-fraud/#comments</comments>
		<pubDate>Sat, 23 Apr 2011 15:27:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Online Payment]]></category>
		<category><![CDATA[fraud]]></category>
		<category><![CDATA[paypal]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=187</guid>
		<description><![CDATA[On Feb 10 2011 I linked my AMEX credit card to my paypal account because they promised faster deposits etc..
On April 10th my Amex card was hit with a fraudulent charge of 28 dollars then on April 19 another charge of 49.99.
This is what they posted on my amex:
TRANSACTION DESCRIPTION: PAYPAL  [...]]]></description>
			<content:encoded><![CDATA[<p>On Feb 10 2011 I linked my AMEX credit card to my paypal account because they promised faster deposits etc..</p>
<p>On April 10th my Amex card was hit with a fraudulent charge of 28 dollars then on April 19 another charge of 49.99.</p>
<p>This is what they posted on my amex:</p>
<p><code>TRANSACTION DESCRIPTION: PAYPAL *PROTEKTRADI 4029357733 CA<br />
DOING BUSINESS AS: MARK PAYPAL<br />
MERCHANT TYPE: INTRNT P2P CNSMR PMT<br />
Transaction Date: Apr 10, 2011<br />
Post Date: Apr 10, 2011<br />
Charge: $28.00<br />
Reference No: xxx some number<br />
0.00<br />
0.00<br />
14761476 402-935-7733<br />
Merchant Address: 2145 HAMILTON AVE SAN JOSE CA 95125-5905</code></p>
<p>I never authorized this transaction called Paypal customer service they said they will investigate 10 business days. Seems someone used your account and paid via &#8220;guest payment&#8221; where you only input the credit card number and address.</p>
<p>Not sure how my how my credit card information got out. I was always careful using it only time it gets out of my site is at a restaurant but still they dont know my address to use it on paypal&#8230;.<br />
I really suspect that some credit card information got stolen from some &#8221; Securely stored brand company&#8221; as I never used my card with any small company. Just amazon, paypal or dominos&#8230;</p>
<p>Posting this article to remind you that you need to review your credit card statement thoroughly and if you see anything similar to the description above make sure you check that it is a transaction that you authorized.</p>
<p>Waiting for paypal to resolve this charge will keep you updated.</p>
<p>10 Days later Paypal issued AMEX a credit and I could see the credit 15 days later on my account. Had to cancel my credit card and get a new one.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/04/paypal-fraud/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Exclude a directory to tar</title>
		<link>http://www.antihostmonster.com/2011/03/exclude-a-directory-to-tar/</link>
		<comments>http://www.antihostmonster.com/2011/03/exclude-a-directory-to-tar/#comments</comments>
		<pubDate>Sat, 12 Mar 2011 23:01:08 +0000</pubDate>
		<dc:creator>hismis</dc:creator>
				<category><![CDATA[SSH Commands]]></category>
		<category><![CDATA[exclude]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tar]]></category>

		<guid isPermaLink="false">http://www.antihostmonster.com/?p=182</guid>
		<description><![CDATA[Here is an example how to backup your site, and a exclude a directory :
tar -cf backup.tar &#8211;exclude={/home/yoursite/public_html/wp-content/uploads/*} /home/yoursite/public_html/
&#160;
backup.tar : Backup file name.
To exclude more than one directory  :  [...]]]></description>
			<content:encoded><![CDATA[<p>Here is an example how to backup your site, and a exclude a directory :</p>
<p>tar -cf backup.tar &#8211;<em>exclude</em>={/home/yoursite/public_html/wp-content/uploads/*} /home/yoursite/public_html/</p>
<p>&nbsp;</p>
<p>backup.tar : Backup file name.</p>
<p>To exclude more than one directory  :  &#8211; exclude={”/proc/*”,”/sys*”,”/tmp/*”,”/home/user/*”}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.antihostmonster.com/2011/03/exclude-a-directory-to-tar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

