<?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>Open source blog, linux, php, python, security &#187; how to</title>
	<atom:link href="http://www.alonon.net/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.alonon.net</link>
	<description></description>
	<lastBuildDate>Sat, 04 Feb 2012 07:23:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>

   <image>
    <title>Open source blog, linux, php, python, security</title>
    <url>http://0.gravatar.com/avatar/5152c5736f5f8dd9570ffb2f9068e8ab.png?s=48</url>
    <link>http://www.alonon.net</link>
   </image>
		<item>
		<title>How to Read File with C</title>
		<link>http://www.alonon.net/how-to-read-file-with-c/</link>
		<comments>http://www.alonon.net/how-to-read-file-with-c/#comments</comments>
		<pubDate>Sun, 21 Mar 2010 14:59:25 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[read file]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=247</guid>
		<description><![CDATA[I wrote c code to read from a file char by char. Finally, it counts char number and print it. How to read file with C 1. Get file name to open. 2. Open file to read. 3. Get a char. 4. Print char. 5. Print total char in the file. #include void main () &#8230; <a href="http://www.alonon.net/how-to-read-file-with-c/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wrote c code to read from a file char by char. Finally, it counts char number and print it.<br />
How to read file with C<br />
1. Get file name to open.<br />
2. Open file to read.<br />
3. Get a char.<br />
4. Print char.<br />
5. Print total char in the file.</p>
<pre lang="c">
#include <stdio.h>
void main () {
	char getname[10],c=" ";
	int i=0,totalchar=0;
	FILE *mytxt;
	while(i == 0) {
		printf("Please write file name(max:10 char):\n");
		gets(getname);
		mytxt = fopen(getname,"r");
		if(mytxt == NULL)
			printf("File can not found\n");
		else {
			i=1;
			while(!feof(mytxt)) {
				c = getc(mytxt);
				if(c != EOF) {
					printf("%c",c);
					totalchar++;
				}
			}
		}
	}
    fclose(mytxt);
    printf("In %s file , there are %d chars.",getname,--totalchar);
    return 0;
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-read-file-with-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to learn your linux release</title>
		<link>http://www.alonon.net/how-to-learn-your-linux-release/</link>
		<comments>http://www.alonon.net/how-to-learn-your-linux-release/#comments</comments>
		<pubDate>Mon, 18 May 2009 20:36:13 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[learn]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=117</guid>
		<description><![CDATA[To learn your linux and kernel version ( release ) you can use /proc/version Type it in console: cat /proc/version Linux version 2.6.18-92.el5 (brewbuilder@ls20-bc2-13.build.redhat.com) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-41)) #1 SMP Tue Apr 29 13:16:15 EDT 2008 In this output, you get to see the following information: Exact version of the Linux kernel &#8230; <a href="http://www.alonon.net/how-to-learn-your-linux-release/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>To learn your linux and kernel version ( release ) you can use /proc/version</p>
<p>Type it in console:</p>
<blockquote><p>cat /proc/version</p>
<pre>Linux version 2.6.18-92.el5
(brewbuilder@ls20-bc2-13.build.redhat.com)
(gcc version 4.1.2 20071124 (Red Hat 4.1.2-41))
#1 SMP Tue Apr 29 13:16:15 EDT 2008</pre>
<p>In this output, you get to see the following information:</p>
<ol>
<li>Exact version of the Linux kernel used in your OS: Linux version 2.6.18-92.el5</li>
<li>Name of the user who compiled your kernel, and also a host name where it happened: brewbuilder@ls20-bc2-13.build.redhat.com</li>
<li>Version of the GCC compiler used for building the kernel: gcc version 4.1.2 20071124</li>
<li>Type of the kernel &#8211; SMP here means Symmetric MultiProcessing kernel, the one that supports systems with multiple CPUs or multiple cpu cores</li>
<li>Date and time when the kernel was built: Tue Apr 29 13:16:15 EDT 2008</li>
</ol>
</blockquote>
<p>For more: http://www.unixtutorial.org/2009/04/use-proc-version-to-identify-your-linux-release/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-learn-your-linux-release/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to add shared folder Virtualbox</title>
		<link>http://www.alonon.net/how-to-add-shared-folder-virtualbox/</link>
		<comments>http://www.alonon.net/how-to-add-shared-folder-virtualbox/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 09:48:38 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[shared folder]]></category>
		<category><![CDATA[virutalbox]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=80</guid>
		<description><![CDATA[i am using windows to work with Photoshop, however transfering files is very difficult  without using shared folder. to add shared folder to your virtualbox, run your virtual os. 1. Click install guest additions from devices 2. Click yes to download iso file. 3.Click link and download it to your desktop. 4. Devices -&#62; Mount &#8230; <a href="http://www.alonon.net/how-to-add-shared-folder-virtualbox/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>i am using windows to work with Photoshop, however transfering files is very difficult  without using shared folder.</p>
<p>to add shared folder to your virtualbox, run your virtual os.</p>
<p style="text-align: center;"><img class="size-full wp-image-82 aligncenter" title="3" src="http://www.alonon.net/wp-content/uploads//2009/04/3.png" alt="3" width="320" height="291" />1. Click install guest additions from devices</p>
<p style="text-align: center;"><img class="size-full wp-image-88 aligncenter" title="31" src="http://www.alonon.net/wp-content/uploads//2009/04/31.png" alt="31" width="414" height="169" /> 2. Click yes to download iso file.</p>
<p style="text-align: center;"><img class="size-full wp-image-83 aligncenter" title="4" src="http://www.alonon.net/wp-content/uploads//2009/04/4.png" alt="4" width="753" height="139" /></p>
<p style="text-align: center;">3.Click link and download it to your desktop.</p>
<p style="text-align: center;"><img class="size-full wp-image-84 aligncenter" title="5" src="http://www.alonon.net/wp-content/uploads//2009/04/5.png" alt="5" width="545" height="286" /></p>
<p style="text-align: center;">
<p style="text-align: center;">4. Devices -&gt; Mount CD/DVD-ROM -&gt; CD/DVD-ROM Image</p>
<p style="text-align: center;"><img class="size-full wp-image-85 aligncenter" title="6" src="http://www.alonon.net/wp-content/uploads//2009/04/6.png" alt="6" width="862" height="610" /></p>
<p style="text-align: center;">5. choise your iso file</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-86" title="7" src="http://www.alonon.net/wp-content/uploads//2009/04/7.png" alt="7" width="465" height="82" />6. Go to My computer and install guest additions like installing a program.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-90" title="8" src="http://www.alonon.net/wp-content/uploads//2009/04/8.png" alt="8" width="287" height="303" /></p>
<p style="text-align: center;">7. To add shared folders click Shared Folders.. from devices</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-91" title="9" src="http://www.alonon.net/wp-content/uploads//2009/04/9.png" alt="9" width="465" height="354" /></p>
<p style="text-align: center;">8. Click add an slect your folder , i selected my foder named &#8220;Belgelerim&#8221;, don&#8217;t forget to make your folder permanent</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-92" title="10" src="http://www.alonon.net/wp-content/uploads//2009/04/10.png" alt="10" width="797" height="592" /></p>
<p style="text-align: center;">
<p style="text-align: center;">9. Go to windows explorer , you can see your shared folder in My Network (or something like that) / VirutalBox Shared Folder /</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">
<p style="text-align: center;">i hope it helped you&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/how-to-add-shared-folder-virtualbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some tips for Pardus</title>
		<link>http://www.alonon.net/some-tips-for-pardus/</link>
		<comments>http://www.alonon.net/some-tips-for-pardus/#comments</comments>
		<pubDate>Wed, 11 Mar 2009 19:01:35 +0000</pubDate>
		<dc:creator>ALonon</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[change linux root password]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install program]]></category>
		<category><![CDATA[pardus]]></category>
		<category><![CDATA[terminate]]></category>

		<guid isPermaLink="false">http://www.alonon.net/?p=53</guid>
		<description><![CDATA[There are some tips for Pardus , 1. How to chane linux root password in Pardus write su root to login as root write your password type sudo passwd type new password confirm new password 2. How to terminate , kill a program press ctrl+alt+esc and click the program that you want to kill 3. &#8230; <a href="http://www.alonon.net/some-tips-for-pardus/">Read more <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>There are some tips for Pardus ,</p>
<p>1. How to chane linux root password in Pardus</p>
<blockquote><p>write su root to login as root</p>
<p>write your password</p>
<p>type sudo passwd</p>
<p>type new password</p>
<p>confirm new password</p></blockquote>
<p>2. How to terminate , kill a program</p>
<blockquote><p>press ctrl+alt+esc and click the program that you want to kill</p></blockquote>
<p>3. How to install program</p>
<blockquote><p>Open pisi from pardus menu, search for a program for example amsn, check it and click install than you can use it or you can open console and write &#8220;sudo pisi it amsn&#8221; then write your password.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.alonon.net/some-tips-for-pardus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

