<?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>微米天空 &#187; Linux</title>
	<atom:link href="http://www.micronsky.com/tag/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.micronsky.com</link>
	<description>人，因思则变。</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:18:12 +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>Linux下查看apache连接数</title>
		<link>http://www.micronsky.com/2009/05/linux-apache-linking-number/</link>
		<comments>http://www.micronsky.com/2009/05/linux-apache-linking-number/#comments</comments>
		<pubDate>Sun, 03 May 2009 05:10:13 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[连接数]]></category>

		<guid isPermaLink="false">http://www.micronsky.com/?p=437</guid>
		<description><![CDATA[Linux命令：
ps -ef &#124; grep httpd &#124; wc -l
查看Apache的并发请求数及其TCP连接状态：
Linux命令：
netstat -n &#124; awk &#8216;/^tcp/ {++S[$NF]} END {for(a in S) print a, S[a]}&#8217;
返回结果示例：
　　LAST_ACK 5
　　SYN_RECV 30
　　ESTABLISHED 1597
　　FIN_WAIT1 51
　　FIN_WAIT2 504
　　TIME_WAIT  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2009/05/linux-apache-linking-number/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下调节进程优先级</title>
		<link>http://www.micronsky.com/2008/11/linux-adjust-priority-level/</link>
		<comments>http://www.micronsky.com/2008/11/linux-adjust-priority-level/#comments</comments>
		<pubDate>Thu, 27 Nov 2008 04:58:25 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[level]]></category>
		<category><![CDATA[nice]]></category>
		<category><![CDATA[优先级]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/2008/11/linux%e4%b8%8b%e8%b0%83%e8%8a%82%e8%bf%9b%e7%a8%8b%e4%bc%98%e5%85%88%e7%ba%a7/</guid>
		<description><![CDATA[命令：<br /><br />nice(1): 以指定优先级运行程序<br />         nice [OPTION] [COMMAND [ARG]...]<br />         nice –n 1 ls<br /><br />renice(8): 调整运行进程的优先级<br />         renice priority [[-p] pid ...] [[-g] pgrp ...] [[-u] user ...]<br />         renice +1 987 -u daemon root -p 32<br /><br /> <br />API：<br />nice(2): 改变进程优先级<br />...
]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/11/linux-adjust-priority-level/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>sed 关于换行符 “\n” 的处理</title>
		<link>http://www.micronsky.com/2008/08/sed-line-break/</link>
		<comments>http://www.micronsky.com/2008/08/sed-line-break/#comments</comments>
		<pubDate>Tue, 26 Aug 2008 21:33:03 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Line break]]></category>
		<category><![CDATA[sed]]></category>
		<category><![CDATA[换行]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/2008/08/sed-%e5%85%b3%e4%ba%8e%e6%8d%a2%e8%a1%8c%e7%ac%a6-n-%e7%9a%84%e5%a4%84%e7%90%86/</guid>
		<description><![CDATA[我有一段文本有多行<br />如：<br />12<br />23<br />34<br /><br />我想把它换成一行  <br />结果如下： 122334<br /><br />vi中 ：%s/n//g  可以合并成一行<br /><br />但是使用命令  sed 's/n//g'  对于换行符不起作用。<br /><br /><hr /><br />因为sed是对行操作，所以没有换行。<br /><br />解决方案：<br />tr -d 'n'<br /><br />真的需要sed<br />sed -nr ' H;<br />$ {<br />x;<br />s/n//g;<br />p<br />}'
]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/08/sed-line-break/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SHELL之循环语句</title>
		<link>http://www.micronsky.com/2008/08/shell-loop/</link>
		<comments>http://www.micronsky.com/2008/08/shell-loop/#comments</comments>
		<pubDate>Sun, 24 Aug 2008 09:13:47 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/2008/08/shell%e4%b9%8b%e5%be%aa%e7%8e%af%e8%af%ad%e5%8f%a5/</guid>
		<description><![CDATA[1、if语句<br /><br />2、交互选择<br /><br />3、循环判断<br /><br />4、数值运算符<br /><br />5、…………<br /><br /><br /><br />if语句格式:<br />if [ 条件 ]<br />then<br />command<br />else<br />command<br />fi<br /><br /><br />交互选择（N可以为*）<br />echo -e "提示语言，后边有光标提供输入"c<br />read VAR<br />case $VAR in<br />Y)<br />command<br />;;<br />N)<br />command<br />;;<br />esac<br /><br /><br />对条件进行循环检查，成立则处理，否则继续检查<br />a=1<br />while [ "$a" = "1" ]<br />do<br />fileno=`ls -l /list/filename* &#124;wc -l`<br />...
]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/08/shell-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在Linux Shell下将汉字转换为Url编码</title>
		<link>http://www.micronsky.com/2008/07/linux-shell-encode-url/</link>
		<comments>http://www.micronsky.com/2008/07/linux-shell-encode-url/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 20:48:37 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[编码]]></category>
		<category><![CDATA[转换]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/2008/07/%e5%9c%a8linux-shell%e4%b8%8b%e5%b0%86%e6%b1%89%e5%ad%97%e8%bd%ac%e6%8d%a2%e4%b8%baurl%e7%bc%96%e7%a0%81/</guid>
		<description><![CDATA[　　在linux 的shell环境下有一个od命令可以将文件按不同的进制的ascii码输出，该功能可以完成在linux shell下将汉字转换为url编码的任务。<br /><br />　　url编码是十六进制的形如%E6%9C%8D%E5%8A%A1%E5的字符串，test是包含“数据库网络,”这几个字符的文件，以下命令输出：<br /><br /><p class="code"><code>#od&#160;-t&#160;x&#160;/test<br />0000000&#160;ddbefdca&#160;f8cde2bf&#160;0a2ce7c2<br />0000014</code></p>
]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/07/linux-shell-encode-url/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>zlib安装</title>
		<link>http://www.micronsky.com/2008/03/zlib-install/</link>
		<comments>http://www.micronsky.com/2008/03/zlib-install/#comments</comments>
		<pubDate>Fri, 28 Mar 2008 05:43:40 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[zlib]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/?p=109</guid>
		<description><![CDATA[在编译软件./configure时得到错误反馈
checking zlib.h usability&#8230; no
checking zlib.h presence&#8230; no
checking for zlib.h&#8230; no
zlib软件包所包含的库经常被一些软件的压缩或解压缩函数用到，所以如果编译软件时需要Zlib则说明这个软件正好含有压缩或解压缩函数，我们需要安装zlib软件包。
先到zlib官方网站：http://www.zlib.net 上下载源码来安装zlib软件包。
目前最新版本zlib是zlib1.2.3，安装开始；
wget  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/03/zlib-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux下的远程备份（镜像）工具rsync</title>
		<link>http://www.micronsky.com/2008/03/linux-rsync/</link>
		<comments>http://www.micronsky.com/2008/03/linux-rsync/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 17:41:29 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[备份]]></category>
		<category><![CDATA[远程]]></category>
		<category><![CDATA[镜像]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/archives/101</guid>
		<description><![CDATA[0 简介
传统上，在Unix系统下使用的备份工具主要有tar、dump（rdump）、restore（rrestore）、dd、cpio、rcp等工具。这些工具中大多数适合于本地备份（native backup），倘若要执行远程备份（remote backup）的话，往往显得力不从心。在Linux系统下提供了一个工具——rsync，据其文档说明，它是rcp工具的一个替代品，但是更快捷、更灵活。rsync采用的remote-update协议允许rsync通过网络链路传输两组文件的增量，而是不是文件本身，据此rsync可以提高传输效率。
rsync所具有的功能特色主要有：
l           [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/03/linux-rsync/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux /etc/hosts解说</title>
		<link>http://www.micronsky.com/2008/02/linux-hosts/</link>
		<comments>http://www.micronsky.com/2008/02/linux-hosts/#comments</comments>
		<pubDate>Thu, 21 Feb 2008 05:23:51 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[hosts]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/archives/65</guid>
		<description><![CDATA[ 1. 关于/etc/host，主机名和ip配置文件

hosts &#8211; The static table lookup for host name（主机名查询静态表）

linux 的/etc/hosts是配置ip地址和其对应主机名的文件，这里可以记录本机的或其他主机的ip及其对应主机名。
不同的linux版本，这个配置文件也可能不同。比如Debian的对应文件是/etc/hostname。

2.  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/02/linux-hosts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux改变文件或目录的访问权限命令</title>
		<link>http://www.micronsky.com/2008/01/linux-chown/</link>
		<comments>http://www.micronsky.com/2008/01/linux-chown/#comments</comments>
		<pubDate>Wed, 23 Jan 2008 19:44:23 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[改变]]></category>
		<category><![CDATA[权限]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/archives/49</guid>
		<description><![CDATA[Linux改变文件或目录的访问权限命令 　　Linux系统中的每个文件和目录都有访问许可权限，用它来确定谁可以通过何种方式对文件和目录进行访问和操作。
文件或目录的访问权限分为只读，只写和可执行三种。以文件为例，只读权限表示只允许读其内容，而禁止对其做任何的更改操作。可执行权限表示允许将该文件 作为一个程序执行。文件被创建时，文件所有者自动拥有对该文件的读、写和可执行权限，以便于对文件的阅读和修改。用户也可根据需要把访问权限设置为需要的  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/01/linux-chown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用rsync对网站进行镜像备份</title>
		<link>http://www.micronsky.com/2008/01/rsync-back-up/</link>
		<comments>http://www.micronsky.com/2008/01/rsync-back-up/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 05:37:11 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[备份]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/archives/44</guid>
		<description><![CDATA[用rsync对网站进行镜像备份
by  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/01/rsync-back-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>千万千万不要运行的命令！</title>
		<link>http://www.micronsky.com/2008/01/not-run-zhe-commands/</link>
		<comments>http://www.micronsky.com/2008/01/not-run-zhe-commands/#comments</comments>
		<pubDate>Sun, 06 Jan 2008 05:52:04 +0000</pubDate>
		<dc:creator>东木</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[危险]]></category>
		<category><![CDATA[命令]]></category>

		<guid isPermaLink="false">http://log.micronsky.com/archives/27</guid>
		<description><![CDATA[警告:
文中列出的命令绝对不可以运行，即使你觉得很好奇也不行，因为它们会实实在在的破坏你的系统。
早晚有一天，Linux 系统会像 Windows 那样流行，用的人越来越多，包括对计算机不是很了解的人，本文的目的就是告诉大家：在 Linux 给你最大程度自由度的同时，也使得破坏系统变得更加容易，如果你不了解某些命令的意义，下载执行包含恶意命令的脚本，或者被骗运行某些命令，很容易让你哭 都来不及。
这并不是说明 Linux 不安全，只是说明在不了解 Linux ，和很不小心的人面前，Linux 十分不安全。Windows 也好，Linux  [...]]]></description>
		<wfw:commentRss>http://www.micronsky.com/2008/01/not-run-zhe-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

