<?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>Tech Kaki &#187; Fedora</title>
	<atom:link href="http://www.techkaki.com/category/linux/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techkaki.com</link>
	<description>Tips and Tricks for Mac OS X, Windows, Linux and office suite software.</description>
	<lastBuildDate>Tue, 13 Jul 2010 15:44: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>Linux &#8211; Use the Terminal to Display a Calendar</title>
		<link>http://www.techkaki.com/2010/07/linux-use-the-terminal-to-display-a-calendar/</link>
		<comments>http://www.techkaki.com/2010/07/linux-use-the-terminal-to-display-a-calendar/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 15:44:25 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1783</guid>
		<description><![CDATA[In Linux environment, we can view the calendar directly in the terminal. To do this, just simply use the &#8220;cal&#8221; command cal command is used to display the calendar. Below are the syntax:- cal [options] [month{1-12}] [year{1-9999}]  OPTIONS: -1 Displays single month as output. -3 Displays prev/current/next month output. -s Displays sunday as the first [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>In Linux environment, we can view the calendar directly in the terminal. To do this, just simply use the &#8220;<strong>cal</strong>&#8221; command</p>
<p><strong>cal</strong> command is used to display the calendar. Below are the syntax:-</p>
<p><strong><span style="color: #000000;">cal [options] [month{1-12}] [year{1-9999}] <span id="more-1783"></span></span></strong></p>
<p><strong id="y">OPTIONS:</strong></p>
<table style="margin-left: 15px; border-collapse: collapse;" width="90%">
<tbody>
<tr>
<td class="new" width="10%" align="center" valign="center">-1</td>
<td class="new">Displays single month as output.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-3</td>
<td class="new">Displays prev/current/next month output.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-s</td>
<td class="new">Displays sunday as the first day of the week.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-m</td>
<td class="new">Displays Monday as the first day of the week.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-j</td>
<td class="new">Displays Julian dates (days one-based, numbered  from January 1).</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-y</td>
<td class="new">Displays a calendar for the current year.</td>
</tr>
</tbody>
</table>
<p><span style="text-decoration: underline;"><strong>Example:</strong></span></p>
<p>To use this command, open a Terminal window and type the <strong>cal</strong> command:</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-2.png"><img class="alignnone size-full wp-image-1787" title="Linux cal command 2" src="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-2.png" alt="" width="500" height="389" /></a></p>
<p>By default, the command displays a calendar for the current month.</p>
<p><strong>To display calendar for year 2010</strong></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-1.png"></a><a href="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-1.png"><img class="alignnone size-full wp-image-1786" title="Linux cal command 1" src="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-1.png" alt="" width="500" height="513" /></a></p>
<p><strong>To display calendar of the month Feburary 2010</strong></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-3.png"><img class="alignnone size-full wp-image-1789" title="Linux cal command 3" src="http://www.techkaki.com/wp-content/uploads/2010/07/Linux-cal-command-3.png" alt="" width="499" height="388" /></a></p>
<p>If you wish to learn more how to use cal command, just type &#8216;<strong><span style="font-family: Courier New,Courier;">man cal</span></strong>&#8216; for more details</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 267px; width: 1px; height: 1px; overflow: hidden;"><strong id="y">cal COMMAND:</strong><br />
cal command is used to display the calendar.</p>
<p><strong id="y">SYNTAX:</strong><br />
The Syntax is<br />
<span style="color: brown;">cal [options] [month] [year]</span></p>
<p><strong id="y">OPTIONS:</strong></p>
<table style="margin-left: 15px; border-collapse: collapse;" width="90%">
<tbody>
<tr>
<td class="new" width="10%" align="center" valign="center">-1</td>
<td class="new">Displays single month as output.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-3</td>
<td class="new">Displays prev/current/next month output.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-s</td>
<td class="new">Displays sunday as the first day of the week.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-m</td>
<td class="new">Displays Monday as the first day of the week.</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-j</td>
<td class="new">Displays Julian dates (days one-based, numbered  from January 1).</td>
</tr>
<tr>
<td class="new" width="10%" align="center" valign="center">-y</td>
<td class="new">Displays a calendar for the current year.</td>
</tr>
</tbody>
</table>
</div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/07/linux-use-the-terminal-to-display-a-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forgotten root Password</title>
		<link>http://www.techkaki.com/2010/07/forgotten-root-password/</link>
		<comments>http://www.techkaki.com/2010/07/forgotten-root-password/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 10:22:39 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RedHat]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1719</guid>
		<description><![CDATA[I forgot my Red Hat Server root password. What i need to do to recover the root password? In RedHat Linux, we can recover the root password by log in single-user mode and create a new root password. Below are the steps:- Power on, or reboot your RedHat Machines At the boot loader menu, use [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.techkaki.com/wp-content/uploads/2010/07/red-hat-logo.jpg"><img class="alignleft size-full wp-image-1761" title="red-hat-logo" src="http://www.techkaki.com/wp-content/uploads/2010/07/red-hat-logo.jpg" alt="" width="51" height="51" /></a>I forgot my Red Hat Server root password. What i need to do to recover the root password?</p>
<p>In RedHat Linux, we can recover the root password by log in single-user mode and create a new root 	password.</p>
<p>Below are the steps:-</p>
<ul>
<li>Power on, or reboot your RedHat Machines</li>
<li>At the boot loader menu, use the arrow keys to highlight the 	   installation you want to edit and type [A] to enter 	  into <tt>append</tt> mode.<a href="http://www.techkaki.com/wp-content/uploads/2010/07/Red-Hat-grub.png"><img class="alignnone size-full wp-image-1762" title="Red Hat grub" src="http://www.techkaki.com/wp-content/uploads/2010/07/Red-Hat-grub.png" alt="" width="391" height="291" /><span id="more-1719"></span></a></li>
</ul>
<ul>
<li>After that, you should see the screen similar to the following</li>
</ul>
<blockquote>
<pre><tt>grub append&gt;</tt> ro root=/dev/VolGroup00/LogVol00 rhgb quiet
</pre>
</blockquote>
<ul>
<li>Press the Spacebar once to add a blank space, then add the word 	    <tt><strong>single</strong></tt> and press <strong>Enter </strong>to tell GRUB to boot into  single-user 	    Linux mode.</li>
</ul>
<blockquote>
<pre><tt>grub append&gt;</tt> ro root=/dev/VolGroup00/LogVol00 rhgb quiet single</pre>
</blockquote>
<ul>
<li>After it finishes loading, you will get a shell prompt</li>
</ul>
<blockquote>
<pre><tt><tt>sh-3.2#</tt></tt></pre>
</blockquote>
<ul>
<li>Now you can change the root password by enter the following command</li>
</ul>
<blockquote>
<pre><tt><tt><tt><tt>sh-3.2# passwd root</tt></tt></tt></tt></pre>
</blockquote>
<ul>
<li>After that, reboot your machine</li>
</ul>
<blockquote>
<pre><tt><tt><tt><tt><tt><tt><tt><tt>sh-3.2# reboot</tt></tt></tt></tt></tt></tt></tt></tt></pre>
</blockquote>
<p>Now you should able to log in 	  to root with your new changed password.</p>
<ol type="1"></ol>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/07/forgotten-root-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to list out Hidden Files and Folder in linux</title>
		<link>http://www.techkaki.com/2010/06/how-to-list-out-hidden-files-and-folder-in-linux/</link>
		<comments>http://www.techkaki.com/2010/06/how-to-list-out-hidden-files-and-folder-in-linux/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 13:22:04 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1754</guid>
		<description><![CDATA[In Windows XP/Vista/7, we can easily view the hidden files or folder by check the &#8220;view hidden file&#8221; option. How about linux? Linux do not have &#8220;view hidden file&#8221; option, any idea? Here are the quick tip:- a) Use command open the terminal, type the following command to list the hidden files and folder # [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><!-- / icon and title --> <!-- message --></p>
<div id="post_message_410559"><a href="http://www.techkaki.com/wp-content/uploads/2010/06/GNOME2.png"><img class="alignleft size-full wp-image-1755" title="GNOME2" src="http://www.techkaki.com/wp-content/uploads/2010/06/GNOME2.png" alt="" width="71" height="71" /></a>In Windows XP/Vista/7, we can easily view the hidden files or folder by check the &#8220;view hidden file&#8221; option. How about linux? Linux do not have &#8220;view hidden file&#8221; option, any idea?</div>
<p>Here are the quick tip:-</p>
<div><span id="more-1754"></span><br />
a) Use command</div>
<div>open the terminal, type the following command to list the hidden files and folder</div>
<blockquote>
<div># ls -a</div>
</blockquote>
<blockquote>
<div>or</div>
</blockquote>
<blockquote>
<div># ls -la</div>
</blockquote>
<div>
B) Use shortcut key<br />
If you use linux with interface, try to press <strong>Ctr + H </strong>. It will show the hidden files and directory folders start with a period (.) . I tried this commnad on Gnome interface linux, it work fine. I think it should working find in KDE interface.</div>
<div></div>
<div>Enjoy. <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/06/how-to-list-out-hidden-files-and-folder-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora/Centos: How to Mount and Unmount ISO Files</title>
		<link>http://www.techkaki.com/2010/06/fedoracentos-how-to-mount-and-unmount-iso-files/</link>
		<comments>http://www.techkaki.com/2010/06/fedoracentos-how-to-mount-and-unmount-iso-files/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 13:15:12 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1726</guid>
		<description><![CDATA[An ISO image or .iso file contains the disk image of an ISO 9660 file system. According to WIKIPEDIA, ISO 9660, also referred to as CDFS (Compact Disc File System) by some hardware and software providers, is a file system standard published by the International Organization for Standardization (ISO) for optical disc media (CD-ROMs and [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><ins><ins></ins></ins> <a href="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg"><img class="alignleft size-full wp-image-1625" title="linux" src="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg" alt="" width="50" height="60" /></a>An ISO image or .iso file contains the disk image of an ISO 9660 file system. According to WIKIPEDIA, <strong>ISO 9660</strong>, also referred to as <strong>CDFS</strong> (<strong>Compact Disc File System</strong>) by some hardware and software providers, is a file system standard published by the International Organization for Standardization (ISO) for optical disc media (CD-ROMs and DVD-ROMs).</p>
<p>In Linux, it is possible to mount the ISO image  so that you can access the files without having to actually burn it to disk. Here is the simple way to show you mount and unmount ISO images without burning them.<br />
1) You must login as a root user <span id="more-1726"></span></p>
<blockquote><p><code>$ su -</code></p></blockquote>
<p>2) create a mount point</p>
<blockquote><p>#<code> </code><code>mkdir /mnt/iso</code></p></blockquote>
<p>3) To mount the ISO image file.iso to the mount point /mnt/iso, run the follwing command:-</p>
<blockquote><p><code># mount -o loop -t iso9660 /home/techkaki/file.iso /mnt/iso</code></p>
<p>or</p>
<p><code># mount -o loop </code><code>/home/techkaki/file.iso</code><code> /mnt/iso</code></p>
<p>If you not specifying the &#8220;-t iso9660&#8243; , it will work. The mount command is smart enough to work out that it&#8217;s a CD image.</p></blockquote>
<p>4) Now you can verify that the ISO image is mounted <strong></strong></p>
<blockquote><p># ls -l /mnt/iso</p>
<p>or</p>
<p># df -hT<br />
Filesystem    Type    Size  Used Avail Use% Mounted on<br />
/dev/mapper/vg_techkaki-lv_root<br />
ext4     72G   24G   48G  33% /<br />
tmpfs        tmpfs    976M  6.3M  969M   1% /dev/shm<br />
/dev/sdb1     ext4    194M   94M   90M  52% /boot<br />
/dev/sdc1  fuseblk     21G   16G  4.9G  76% /media/5ECCB927CCB8FA7B<br />
/dev/sdc5  fuseblk     55G   46G  9.5G  83% /media/data<br />
/dev/loop0 iso9660    7.4G  7.4G     0 100% /mnt/iso</p></blockquote>
<p>To unmount the ISO Image, use following command :</p>
<blockquote><p># umount /mnt/iso</p></blockquote>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/06/fedoracentos-how-to-mount-and-unmount-iso-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://cdn5.tribalfusion.com/media/2123136/video.flv" length="1040967" type="video/x-FLV" />
<enclosure url="http://cdn5.tribalfusion.com/media/2123136/video1.flv" length="1081632" type="video/x-FLV" />
<enclosure url="http://cdn5.tribalfusion.com/media/2123136/video2.flv" length="1289751" type="video/x-FLV" />
		</item>
		<item>
		<title>How to open .chm file in Linux</title>
		<link>http://www.techkaki.com/2010/04/how-to-open-chm-file-in-linux/</link>
		<comments>http://www.techkaki.com/2010/04/how-to-open-chm-file-in-linux/#comments</comments>
		<pubDate>Thu, 08 Apr 2010 06:47:22 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Utilities Software]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1684</guid>
		<description><![CDATA[I downloaded an ebook from internet. The ebook in .chm extension. I can&#8217;t read it in my linux machine. So, i just install a software called xCHM to read .chm file.  xCHM can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.techkaki.com/wp-content/uploads/2010/04/FedoraLogo-250x250-400x400.jpg"><img class="alignleft size-full wp-image-1687" title="FedoraLogo-250x250-400x400" src="http://www.techkaki.com/wp-content/uploads/2010/04/FedoraLogo-250x250-400x400.jpg" alt="" width="65" height="65" /></a>I downloaded an ebook from internet. The ebook in .chm extension. I can&#8217;t read it in my linux machine.</p>
<p>So, i just install a software called <strong>xCHM</strong> to read .chm file.  <strong>xCHM</strong> can show the content tree if one is available, print pages, change font face and size, remember bookmarks, display a searchable index, and search for words in the current page and the whole book.</p>
<p>How to install it? Just follow the following steps:-</p>
<p>Fedora/Centos</p>
<p>a) Login as root user</p>
<pre>su -</pre>
<p>b) Type the following command to install it</p>
<pre>yum install -y xchm</pre>
<p>After that, you try to double click the<strong> .chm </strong>file, you should able to open it with <strong>xchm</strong> program.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/04/xchm.png"><img class="alignnone size-full wp-image-1686" title="xchm" src="http://www.techkaki.com/wp-content/uploads/2010/04/xchm.png" alt="" width="496" height="358" /></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/04/how-to-open-chm-file-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find your MAC address (Linux/Windows/Mac OS X)</title>
		<link>http://www.techkaki.com/2010/03/how-to-find-your-mac-address-linuxwindowsmac-os-x/</link>
		<comments>http://www.techkaki.com/2010/03/how-to-find-your-mac-address-linuxwindowsmac-os-x/#comments</comments>
		<pubDate>Thu, 18 Mar 2010 14:44:54 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Win7]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1649</guid>
		<description><![CDATA[Windows XP/Vista/7 Run ipconfig/all from a Command Prompt window. click Start, then Run, then type cmd in the text box. Type in ipconfig/all in the Command Prompt Windows and press enter You should get something like this Your MAC Address is listed under &#8216;Physical Address&#8217; as a series of 6 groups of two digits, letters [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><span style="text-decoration: underline;"><strong><span style="color: #330033; font-size: small;">Windows XP/Vista/7</span></strong></span><br />
Run <code> <strong>ipconfig/all</strong></code> from a Command Prompt window.</p>
<blockquote>
<ul>
<li>click <strong>Start</strong>, then <strong>Run</strong>, then type <strong><code>cmd</code></strong> in the text      box.</li>
</ul>
<ul>
<li>Type in <strong>ipconfig/all</strong> in the Command Prompt Windows and press enter</li>
</ul>
<p><em> </em><em> </em>You should get something like this<span id="more-1649"></span></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/03/ipconfig.jpg"><img class="alignnone size-full wp-image-1650" title="ipconfig" src="http://www.techkaki.com/wp-content/uploads/2010/03/ipconfig.jpg" alt="" width="460" height="289" /></a><br />
<strong>Your <strong>MAC Address</strong> is listed under &#8216;Physical Address&#8217; as a series of 6 groups of two digits, letters and numbers, separated by dashes, such as in the image below.</strong> Make sure you get the physical address of the correct network adapter &#8211; usually there are several listed.</p></blockquote>
<p><span style="color: #330033; font-size: small;"> </span></p>
<p><span style="text-decoration: underline;"><strong><span style="color: #330033; font-size: small;">Linux</span></strong></span></p>
<p>On Linux systems, you must login as root user first before you find the Mac Address</p>
<ul>
<li>Launch your terminal</li>
<li>Type the following command to become root user</li>
</ul>
<p>[ahkwai@techkaki ~]$ su -<br />
Password:</p>
<ul>
<li>Then, type <code>ifconfig. Example:-<br />
</code></li>
</ul>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/03/ifconfig.png"><img class="alignnone size-full wp-image-1651" title="ifconfig" src="http://www.techkaki.com/wp-content/uploads/2010/03/ifconfig.png" alt="" width="465" height="325" /></a></p>
<p><span style="text-decoration: underline;"><strong><span style="color: #330033; font-size: small;">MAC OS X </span></strong></span></p>
<p><strong>Choose &#8220;System Preferences.</strong>..&#8221; from the Apple menu. Then select &#8220;Network.&#8221; Double-click on &#8220;Airport&#8221; or &#8220;Built-in Ethernet&#8221; depending on how you access the Internet or your network.</p>
<p>For &#8216;Built-in Ethernet&#8217;, select the Ethernet tab.   Read the MAC address labeled &#8216;Ethernet ID:&#8217;.</p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/03/Network-Preferences.png"><img class="alignnone size-full wp-image-1653" title="Network Preferences" src="http://www.techkaki.com/wp-content/uploads/2010/03/Network-Preferences.png" alt="" width="459" height="403" /></a></p>
<p><a href="http://www.techkaki.com/wp-content/uploads/2010/03/Ethernet-Tab.png"><img class="alignnone size-full wp-image-1655" title="Ethernet Tab" src="http://www.techkaki.com/wp-content/uploads/2010/03/Ethernet-Tab.png" alt="" width="450" height="351" /></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/03/how-to-find-your-mac-address-linuxwindowsmac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Basic Linux Commands</title>
		<link>http://www.techkaki.com/2010/02/basic-linux-commands/</link>
		<comments>http://www.techkaki.com/2010/02/basic-linux-commands/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 04:29:42 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1608</guid>
		<description><![CDATA[Viewing, copying, moving and deleting files ls Display the contents of the current directory ls -a Display also hidden files and hidden directories cp filename /path/dir_name Copy filename into directory /path/dir_name cp -r dir_name /path/dir_name2 Copy the entire dir_name into /path/dir_name2 cp filename1 filename2 /path/dir_name Copy filename1 and filename2 into /path/dir_name rm name Remove a [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><h3><a href="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg"><img class="aligncenter size-full wp-image-1625" title="linux" src="http://www.techkaki.com/wp-content/uploads/2010/02/linux.jpg" alt="" width="89" height="107" /></a></h3>
<h3>Viewing, copying, moving and deleting files</h3>
<div>
<table style="height: 430px;" border="1" width="500">
<tbody>
<tr>
<td>ls</td>
<td>Display the contents of the current directory</td>
</tr>
<tr>
<td>ls -a</td>
<td>Display also hidden files and hidden directories</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>cp filename /path/dir_name</td>
<td>Copy filename into directory /path/dir_name</td>
</tr>
<tr>
<td>cp -r dir_name /path/dir_name2</td>
<td>Copy the entire dir_name into /path/dir_name2</td>
</tr>
<tr>
<td>cp filename1 filename2 /path/dir_name</td>
<td>Copy filename1 and filename2 into /path/dir_name</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>rm name</td>
<td>Remove a file or directory called name</td>
</tr>
<tr>
<td>rm -r name</td>
<td>Remove an entire directory as well as its included files and subdirectories</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>mv filename /path/dir_name</td>
<td>Move filename into /path/dir_name</td>
</tr>
<tr>
<td>mv filename1 filename2</td>
<td>Rename filename1 to filename2</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>cat filename</td>
<td>Display filenames contents</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>more filename</td>
<td>Display filename in pages. Use spacebar to view next page</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>head filename</td>
<td>Display filenames first 10 lines</td>
</tr>
<tr>
<td>head -15 filename</td>
<td>Display filenames first 15 lines</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>tail filename</td>
<td>Display filenames last 10 lines</td>
</tr>
<tr>
<td>tail -15 filename</td>
<td>Display filenames last 15 lines</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>pwd</td>
<td>Display current directory</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>cd /path/dir_name</td>
<td>Change to directory /path/dir_name</td>
</tr>
<tr>
<td>cd ..</td>
<td>Go 1 directory up</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>mkdir dir_name</td>
<td>Create directory dir_name</td>
</tr>
<tr>
<td>rmdir dir_name</td>
<td>Delete directory dir_name</td>
</tr>
</tbody>
</table>
</div>
<h3><span id="more-1608"></span>Finding files and text within files</h3>
<table style="height: 109px;" border="1" width="500">
<tbody>
<tr>
<td>updatedb</td>
<td>Update (create first time used) a database of all files under the root directory /</td>
</tr>
<tr>
<td>locate filename</td>
<td>Find file filename searching in the database</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>find / -name filename</td>
<td>Starting from the root directory search for the file called filename</td>
</tr>
<tr>
<td>find / -name *filename</td>
<td>Same as above but search for file containing the string filename</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>grep string /path/dir_name</td>
<td>Starting from /path/dir_name search for all files containing string</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>which application_name</td>
<td>Search $path for application app_name</td>
</tr>
<tr>
<td>whereis application_name</td>
<td>Search $path, man pages and source files for application_name</td>
</tr>
</tbody>
</table>
<h3>Archived files</h3>
<p><strong>Decompress</strong></p>
<table style="height: 10px;" border="1" width="500">
<tbody>
<tr>
<td>tar -xzf filename.tgz</td>
<td>Decompress tzg file</td>
</tr>
<tr>
<td>tar -xzf filename.tar.gz</td>
<td>Decompress tar.gz file</td>
</tr>
<tr>
<td>tar -xjf filename.tar.bz2</td>
<td>Decompress tar.bz2 file</td>
</tr>
</tbody>
</table>
<p><strong>Compress</strong></p>
<table style="height: 63px;" border="1" width="500">
<tbody>
<tr>
<td>tar -czf filename.tar /path/dir_name</td>
<td>Compress directory /path/dir_name to filename.tar</td>
</tr>
<tr>
<td>gzip -c filename &gt; filename.gz</td>
<td>Compress /path/dir_name to filename.tar.gz</td>
</tr>
<tr>
<td>bzip2 -c filename &gt; filename.bz2</td>
<td>Compress /path/dir_name to filename.tar.bz2</td>
</tr>
</tbody>
</table>
<h3>Using rpm files</h3>
<table style="height: 112px;" border="1" width="500">
<tbody>
<tr>
<td>rpm -hiv package.rpm</td>
<td>Install rpm called package.rpm</td>
</tr>
<tr>
<td>rpm -hiv &#8211;force package.rpm</td>
<td>Install rpm called package.rpm by force</td>
</tr>
<tr>
<td>rpm -hUv package.rpm</td>
<td>Upgrade rpm called package.rpm</td>
</tr>
<tr>
<td>rpm -e package.rpm</td>
<td>Delete rpm called package.rpm</td>
</tr>
<tr>
<td>rpm -qpil package.rpm</td>
<td>List files in not-installed rpm called package.rpm</td>
</tr>
<tr>
<td>rpm -ql package.rpm</td>
<td>List files in installed rpm called package.rpm</td>
</tr>
<tr>
<td>rpm -q str</td>
<td>List installed rpms containing the string str</td>
</tr>
<tr>
<td>rpm -qf /path/application_name</td>
<td>Display the rpm that contains application application_name</td>
</tr>
</tbody>
</table>
<h3>Starting and Stoping</h3>
<table style="height: 88px;" border="1" width="500">
<tbody>
<tr>
<td>startx</td>
<td>Start the X system</td>
</tr>
<tr>
<td>shutdown -h now</td>
<td>Shutdown the system now and do not reboot</td>
</tr>
<tr>
<td>
<div>halt</div>
</td>
<td>Same as above</td>
</tr>
<tr>
<td>shutdown -r now</td>
<td>Reboot</td>
</tr>
<tr>
<td>reboot</td>
<td>Same as above</td>
</tr>
<tr>
<td>shutdown -r +10</td>
<td>Reboot in 10 minutes</td>
</tr>
</tbody>
</table>
<h3>Mounting filesystems</h3>
<div>
<table style="height: 49px;" border="1" width="500">
<tbody>
<tr>
<td>mount -t vfat /dev/sd(a)(1) /mnt/c_drive</td>
<td>Mount the first partition 1 of the first hard disk drive a which is in fat32 vfat dormat under /mnt/c_drive directory</td>
</tr>
<tr>
<td>mount -t iso9660 /dev/cdrom /mnt/cdrom</td>
<td>Mount cdrom under /mnt/cdrom directory</td>
</tr>
<tr>
<td></td>
<td></td>
</tr>
<tr>
<td>umount /mnt/hda1</td>
<td>Unmout the above</td>
</tr>
</tbody>
</table>
</div>
<h3>User administration</h3>
<table style="height: 102px;" border="1" width="500">
<tbody>
<tr>
<td>users</td>
<td>Display users currently logged in</td>
</tr>
<tr>
<td>adduser username</td>
<td>Create a new user called username</td>
</tr>
<tr>
<td>passwd username</td>
<td>Define password for user called username</td>
</tr>
<tr>
<td>who</td>
<td>List logged-in users</td>
</tr>
<tr>
<td>whoami</td>
<td>Display current user</td>
</tr>
<tr>
<td>finger username</td>
<td>Displays info about user username</td>
</tr>
<tr>
<td>su</td>
<td>Log in as root from current login</td>
</tr>
<tr>
<td>su -</td>
<td>Log in as root from current login and take root&#8217;s path</td>
</tr>
<tr>
<td>exit</td>
<td>Exit from console login (ie, logout).</td>
</tr>
</tbody>
</table>
<h3>Processes</h3>
<table style="height: 74px;" border="1" width="501">
<tbody>
<tr>
<td>command</td>
<td>Execute command in the foreground</td>
</tr>
<tr>
<td>command &amp;</td>
<td>Execute command in the background</td>
</tr>
<tr>
<td>ctrl+z</td>
<td>Suspend a program</td>
</tr>
<tr>
<td>ctrl+c</td>
<td>Interrupt a program</td>
</tr>
<tr>
<td>ps</td>
<td>List all processes</td>
</tr>
<tr>
<td>kill -9 pid</td>
<td>Kill process with id pid</td>
</tr>
<tr>
<td>top</td>
<td>Monitor processes in real time</td>
</tr>
</tbody>
</table>
<h3>Networking</h3>
<table style="height: 87px;" border="1" width="500">
<tbody>
<tr>
<td>hostname</td>
<td>List the system&#8217;s hostname</td>
</tr>
<tr>
<td>ifconfig</td>
<td>Set/Display network information</td>
</tr>
<tr>
<td>host ip</td>
<td>Resolves ip&#8217;s hostname</td>
</tr>
<tr>
<td>ping ip/hostname</td>
<td>Check if ip/hostname is reachable</td>
</tr>
<tr>
<td>traceroute ip/hostname</td>
<td>Find network path to ip/hostname</td>
</tr>
</tbody>
</table>
<h3>System Information</h3>
<table style="height: 48px;" border="1" width="500">
<tbody>
<tr>
<td>uname -a</td>
<td>General system information</td>
</tr>
<tr>
<td>fdisk -l</td>
<td>List partition tables</td>
</tr>
<tr>
<td>cp filename /path/dir_name</td>
<td>Copy filename into directory /path/dir_name</td>
</tr>
<tr>
<td>df -T -h</td>
<td>List filesystem disk space usage</td>
</tr>
<tr>
<td>lspci</td>
<td>List PCI devices</td>
</tr>
<tr>
<td>lsusb</td>
<td>List USB devices</td>
</tr>
<tr>
<td>free -m</td>
<td>Display RAM+Swap usage</td>
</tr>
</tbody>
</table>
<h3>Program Compile</h3>
<table style="height: 27px;" border="1" width="500">
<tbody>
<tr>
<td>gcc -o output file.c</td>
<td>Compile a C program</td>
</tr>
<tr>
<td>./output</td>
<td>Run a C program you have compiled</td>
</tr>
<tr>
<td>g++ -o output file.cpp</td>
<td>Compile a C++ program</td>
</tr>
<tr>
<td>./output</td>
<td>Run a C++ program you have compiled</td>
</tr>
<tr>
<td>./configure &amp;&amp; make &amp;&amp; su -c &#8216;make install&#8217;</td>
<td>Configure, compile and install a program with Makefile</td>
</tr>
</tbody>
</table>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/02/basic-linux-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to open winrar files on Linux (Fedora/Ubuntu)</title>
		<link>http://www.techkaki.com/2010/01/how-to-open-winrar-files-on-linux-fedoraubuntu/</link>
		<comments>http://www.techkaki.com/2010/01/how-to-open-winrar-files-on-linux-fedoraubuntu/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 09:35:57 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Open Office]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1367</guid>
		<description><![CDATA[I just downloaded .rar file. But i can&#8217;t open it under my Fedora operating systems. How to open it? RAR is a proprietary compression format widely used today. By default, Fedora unable to open RAR files. So, you need to install a software called unrar. How to install unrar on Fedora? Just use yum command [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I just downloaded .rar file. But i can&#8217;t open it under my Fedora operating systems. How to open it?</p>
<p>RAR is a proprietary compression format widely used today. By default, Fedora unable to open RAR files. So, you need to install a software called <strong>unrar</strong>.</p>
<p><span style="text-decoration: underline;"><strong>How to install unrar on Fedora?</strong></span></p>
<p>Just use yum command as follows :<span id="more-1367"></span></p>
<p><code># yum install unrar</code></p>
<p>Under Ubuntu, you need to type apt-get as follows to install unrar program:</p>
<p><code># apt-get install unrar</code></p>
<p><span style="text-decoration: underline;"><strong>How to use unrar?</strong></span></p>
<p>Extract a RAR file into the current directory.</p>
<p><code># unrar e [filename].rar</code></p>
<p>eg: # unrar e testing.rar</p>
<p>List contents of a RAR file</p>
<p><code># unrar l [filename].rar</code></p>
<p>eg: # unrar l techkaki.rar</p>
<p>If you want to know more on how to use unrar function, you just type <tt>man unrar</tt> on your terminal.</p>
<p> <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2010/01/how-to-open-winrar-files-on-linux-fedoraubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Configure Mac OS X to access your NTP Server</title>
		<link>http://www.techkaki.com/2009/12/how-to-configure-mac-os-x-to-access-your-ntp-server/</link>
		<comments>http://www.techkaki.com/2009/12/how-to-configure-mac-os-x-to-access-your-ntp-server/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 11:11:29 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1299</guid>
		<description><![CDATA[Once you finished setup your NTP server, you need to allow your NTP client to access the NTP Server. Here i going to show your how to configure your NTP Client (Mac OS X) to sync the time from your NTP Server. Below are the steps: 1st &#8211; Launch your terminal 2nd &#8211; From the [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Once you finished setup your NTP server, you need to allow your NTP client to access the NTP Server. Here i going to show your how to configure your NTP Client (Mac OS X) to sync the time from your NTP Server. Below are the steps:</p>
<p><span style="text-decoration: underline;">1st &#8211; Launch your terminal</span></p>
<p><span style="text-decoration: underline;">2nd &#8211; From the terminal, type the following command</span></p>
<p>techkaki-MacBook:~ techkaki $<code> sudo vi /etc/ntp.conf</code></p>
<p><span style="text-decoration: underline;">3rd &#8211; change the default timezone address to your server domain name or ip address</span></p>
<p>By default, it will point to apple timezone. Eg: <strong>server time.asia.apple.com</strong></p>
<p>To change it, just change the URL to your server ip or server domain name</p>
<p>eg: <strong>server 192.168.1.2</strong> or <strong>server ntp.techkaki.com</strong></p>
<p><span style="text-decoration: underline;">4th &#8211; Save the ntp.conf </span></p>
<p>Now you will realize that your Mac timezone already point to your ntp server.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2009/12/how-to-configure-mac-os-x-to-access-your-ntp-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change ntp timezones on NTP Server (centos/fedora/RedHat)</title>
		<link>http://www.techkaki.com/2009/12/how-to-change-ntp-time-zones/</link>
		<comments>http://www.techkaki.com/2009/12/how-to-change-ntp-time-zones/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 10:53:05 +0000</pubDate>
		<dc:creator>@HKw@!</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.techkaki.com/?p=1293</guid>
		<description><![CDATA[After you setup the NTP server. You will realize that the timezone was changed. The time zone might not same as your country timezone. It is because  pool.ntp.org will assign the timeservers from all over the world, time quality will not be ideal. You will get better result if you use the continental zones. Just [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>After you setup the NTP server. You will realize that the timezone was changed. The time zone might not same as your country timezone. It is because  <tt>pool.ntp.org</tt> will assign the timeservers from all over the 	world, time quality will not be ideal.</p>
<p>You will get better result if you use the continental zones. Just click <a href="http://www.pool.ntp.org/zone/@">Here</a> to view the available zone in All Pool serves.</p>
<p>Here i will going to show how to change the timezone on your NTP Server.</p>
<p>1st &#8211; Login as the root user</p>
<p>2nd &#8211; Now open and edit <strong>/etc/ntp.conf</strong></p>
<p><code># vi /etc/ntp.conf</code></p>
<p>3nd &#8211; Now i want to add Malaysia timezone to NTP server. Just add the following to your ntp.conf file:</p>
<pre>	   server 0.my.pool.ntp.org
	   server 1.asia.pool.ntp.org
	   server 2.asia.pool.ntp.org</pre>
<p>4th &#8211; Save the ntp.conf file and restart the ntpd service</p>
<p><code># service ntpd start</code></p>
<p>Now you will realize that your timezone was change <img src='http://www.techkaki.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.techkaki.com/2009/12/how-to-change-ntp-time-zones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
