<?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>AegisRyan&#039;s Island &#187; linux</title>
	<atom:link href="http://www.aegisryan.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aegisryan.com</link>
	<description>about tech, code, hobbies..</description>
	<lastBuildDate>Tue, 20 Apr 2010 03:05:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Check My Linux Version?</title>
		<link>http://www.aegisryan.com/2010/04/20/how-to-check-my-linux-version/</link>
		<comments>http://www.aegisryan.com/2010/04/20/how-to-check-my-linux-version/#comments</comments>
		<pubDate>Tue, 20 Apr 2010 03:05:55 +0000</pubDate>
		<dc:creator>skyfish</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.aegisryan.com/?p=137</guid>
		<description><![CDATA[The similar question you may ask:

How to know my Linux server is running in 64/32 bits?
How to check which kernel version is my Linux?
How to show the Linux release name? Is it Ubuntu?Redhat or CentOS or something else?

In work, we have many different linux servers either in physical machine or virtual machine (Using Xen/KVM). Sometimes [...]]]></description>
			<content:encoded><![CDATA[<p>The similar question you may ask:</p>
<ul>
<li>How to know my Linux server is running in 64/32 bits?</li>
<li>How to check which kernel version is my Linux?</li>
<li>How to show the Linux release name? Is it Ubuntu?Redhat or CentOS or something else?</li>
</ul>
<p>In work, we have many different linux servers either in physical machine or virtual machine (Using Xen/KVM). Sometimes we easily lost track of which linux version is installed for Server A, B, and other.</p>
<p>There are few simple command to check for which Linux version you were using:</p>
<p>To show the linux release information as per LSB specification</p>
<blockquote><p><strong>sudo lsb_release -a</strong></p>
<p>No LSB modules are available.<br />
Distributor ID:    Ubuntu<br />
Description:    Ubuntu 8.04<br />
Release:    8.04<br />
Codename:    hardy</p></blockquote>
<p>To show the Linux kernel build and version</p>
<blockquote><p><strong>cat /proc/version</strong></p>
<p>Linux version 2.6.24-19-xen (buildd@king) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Sat Jul 12 00:15:59 UTC 2008</p></blockquote>
<p>The other commands is to show the kernel version and type:</p>
<blockquote><p><strong>uname -a</strong></p>
<p>Linux penguin 2.6.24-19-xen #1 SMP Sat Jul 12 00:15:59 UTC 2008 x86_64 GNU/Linux</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.aegisryan.com/2010/04/20/how-to-check-my-linux-version/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to List Crontab for All Users</title>
		<link>http://www.aegisryan.com/2010/04/09/how-to-list-crontab-for-all-users/</link>
		<comments>http://www.aegisryan.com/2010/04/09/how-to-list-crontab-for-all-users/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 02:23:07 +0000</pubDate>
		<dc:creator>skyfish</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[cronjob]]></category>
		<category><![CDATA[crontab]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[users]]></category>

		<guid isPermaLink="false">http://www.aegisryan.com/?p=134</guid>
		<description><![CDATA[There was a time I would like to check what are the task/job configured in crontab of all users. After I googled it I found this scripts from StackOverflow
You must run this script as root.
   for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done
What does it do? This script basically loop [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time I would like to check what are the task/job configured in crontab of all users. After I googled it I found this scripts from <a title="list all cronjob of all users" href="http://stackoverflow.com/questions/134906/how-do-i-list-all-cron-jobs-for-all-users" target="_blank">StackOverflow</a></p>
<p>You must run this script as root.</p>
<pre><code>   for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done</code></pre>
<p>What does it do? This script basically loop thru /etc/passwd to get the user id and call &#8216;crontab -l&#8217; for each user. A nice script to share and also I would like to keep it here so easy for me to refer next time.</p>
<pre><code>
</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.aegisryan.com/2010/04/09/how-to-list-crontab-for-all-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Copy folder/directory exclude hidden .svn folder (linux)</title>
		<link>http://www.aegisryan.com/2009/05/15/copy-folderdirectory-exclude-hidden-svn-folder-linux/</link>
		<comments>http://www.aegisryan.com/2009/05/15/copy-folderdirectory-exclude-hidden-svn-folder-linux/#comments</comments>
		<pubDate>Fri, 15 May 2009 03:59:14 +0000</pubDate>
		<dc:creator>skyfish</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.aegisryan.com/?p=113</guid>
		<description><![CDATA[During work, every time when I want to create a new sub-project (which has similar folder structure with existing one) I need to create the folder one by one. I cannot just copy-paste the sub-project1 folder and renamed it to sub-project2 because it contains hidden .svn which is used to track the version of sub-project1.

project
- [...]]]></description>
			<content:encoded><![CDATA[<p>During work, every time when I want to create a new sub-project (which has similar folder structure with existing one) I need to create the folder one by one. I cannot just copy-paste the <strong>sub-project1</strong> folder and renamed it to <strong>sub-project2</strong> because it contains hidden .svn which is used to track the version of sub-project1.</p>
<blockquote>
<pre>project
- sub-proj1
- - src
- - - - main
- - - - - - java
- - - - - - resource
- - - - - - webapp
- - - - - test
- sub-proj2
- - - - main
- - - - - - java
- - - - - - resource
- - - - - - webapp
- - - - - test</pre>
</blockquote>
<p>So&#8230; how do I get rid of hidden .svn folder/files when copying from sub-project1 to a new sub-project?</p>
<blockquote>
<pre><strong>rsync -r --exclude=.svn SRC_FOLDER DESTINATION FOLDER</strong></pre>
</blockquote>
<p>example:</p>
<blockquote>
<pre>rsync -r --exclude=.svn /root/project/sub-proj1/ /root/project/sub-proj2/</pre>
</blockquote>
<p>Hope this would help!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aegisryan.com/2009/05/15/copy-folderdirectory-exclude-hidden-svn-folder-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
