<?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>记录与PHP的PK经历 &#187; 命令</title>
	<atom:link href="http://www.pkphp.com/tag/%e5%91%bd%e4%bb%a4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pkphp.com</link>
	<description>PK with php!</description>
	<lastBuildDate>Fri, 27 May 2011 02:07:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>linux关于vi替换命令的使用说明</title>
		<link>http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/</link>
		<comments>http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 15:52:44 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[vi]]></category>
		<category><![CDATA[使用说明]]></category>
		<category><![CDATA[命令]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=343</guid>
		<description><![CDATA[vi/vim 中可以使用 :s 命令来替换字符串。以前只会使用一种格式来全文替换，今天发现该命令有很多种写法（vi 真是强大啊，还有很多需要学习），记录几种在此，方便以后查询。
:s/vivian/sky/ 替换当前行第一个 vivian 为 sky
:s/vivian/sky/g 替换当前行所有 vivian 为 sky
:n,$s/vivian/sky/ 替换第 n 行开始到最后一行...<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F01%2Fvi%25E5%2591%25BD%25E4%25BB%25A4%25E9%2580%259F%25E6%259F%25A5%25E8%25A1%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">vi命令速查表</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>vi/vim 中可以使用 :s 命令来替换字符串。以前只会使用一种格式来全文替换，今天发现该命令有很多种写法（vi 真是强大啊，还有很多需要学习），记录几种在此，方便以后查询。<br />
:s/vivian/sky/ 替换当前行第一个 vivian 为 sky<br />
:s/vivian/sky/g 替换当前行所有 vivian 为 sky<br />
:n,$s/vivian/sky/ 替换第 n 行开始到最后一行中每一行的第一个 vivian 为 sky<br />
:n,$s/vivian/sky/g 替换第 n 行开始到最后一行中每一行所有 vivian 为 sky<br />
n 为数字，若 n 为 .，表示从当前行开始到最后一行<br />
:%s/vivian/sky/（等同于 :g/vivian/s//sky/） 替换每一行的第一个 vivian 为 sky<br />
:%s/vivian/sky/g（等同于 :g/vivian/s//sky/g） 替换每一行中所有 vivian 为 sky<br />
可以使用 # 作为分隔符，此时中间出现的 / 不会作为分隔符<br />
:s#vivian/#sky/# 替换当前行第一个 vivian/ 为 sky/<br />
:%s+/oradata/apras/+/user01/apras1+ （使用+ 来 替换 / ）： /oradata/apras/替换成/user01/apras1/<br />
1.:s/vivian/sky/ 替换当前行第一个 vivian 为 sky<br />
:s/vivian/sky/g 替换当前行所有 vivian 为 sky<br />
2. :n,$s/vivian/sky/ 替换第 n 行开始到最后一行中每一行的第一个 vivian 为 sky<br />
:n,$s/vivian/sky/g 替换第 n 行开始到最后一行中每一行所有 vivian 为 sky<br />
(n 为数字，若 n 为 .，表示从当前行开始到最后一行)<br />
3. :%s/vivian/sky/（等同于 :g/vivian/s//sky/） 替换每一行的第一个 vivian 为 sky<br />
:%s/vivian/sky/g（等同于 :g/vivian/s//sky/g） 替换每一行中所有 vivian 为 sky<br />
4. 可以使用 # 作为分隔符，此时中间出现的 / 不会作为分隔符<br />
:s#vivian/#sky/# 替换当前行第一个 vivian/ 为 sky/<br />
5. 删除文本中的^M<br />
问题描述：对于换行,window下用回车换行(0A0D)来表示，<br />
Linux<br />
下是回车(0A)来表示。这样，将window上的文件拷到<br />
Unix<br />
上用时，总会有个^M.请写个用在unix下的过滤<br />
Windows<br />
文件的换行符(0D)的shell或c程序。<br />
· 使用命令：cat filename1 | tr -d “^V^M” > newfile；<br />
· 使用命令：sed -e “s/^V^M//” filename > outputfilename。需要注意的是在1、2两种方法中，^V和^M指的是Ctrl+V和Ctrl+M。你必须要手工进行输入，而不是粘贴。<br />
· 在vi中处理：首先使用vi打开文件，然后按ESC键，接着输入命令：%s/^V^M//。<br />
· :%s/^M$//g<br />
如果上述方法无用，则正确的解决办法是：<br />
· tr -d &#8221;<br />
&#8221; dest<br />
· tr -d &#8220;�15&#8243; dest<br />
· strings A>B<br />
6. 其它<br />
利用 :s 命令可以实现字符串的替换。具体的用法包括：<br />
:s/str1/str2/ 用字符串 str2 替换行中首次出现的字符串 str1<br />
:s/str1/str2/g 用字符串 str2 替换行中所有出现的字符串 str1<br />
:.,$ s/str1/str2/g 用字符串 str2 替换正文当前行到末尾所有出现的字符串 str1<br />
:1,$ s/str1/str2/g 用字符串 str2 替换正文中所有出现的字符串 str1<br />
:g/str1/s//str2/g 功能同上<br />
从上述替换命令可以看到：g 放在命令末尾，表示对搜索字符串的每次出现进行替换；不加 g，表示只对搜索<br />
字符串的首次出现进行替换；g 放在命令开头，表示对正文中所有包含搜索字符串的行进行替换操作。<br />
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/'>Linux新手要了解的十个知识点</a></li>
<li><a href='http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/'>linux下svn命令大全</a></li>
<li><a href='http://www.pkphp.com/2008/07/01/vi%e5%91%bd%e4%bb%a4%e9%80%9f%e6%9f%a5%e8%a1%a8/'>vi命令速查表</a></li>
<li><a href='http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/'>linux：常用命令</a></li>
<li><a href='http://www.pkphp.com/2011/04/07/centos-iftop/'>centOS带宽实时流量查看工具</a></li>
</ul>
<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi 查找字符串命令" style="font-size: 13px;">vi 查找字符串命令</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vim 替换所有关键字" style="font-size: 13px;">vim 替换所有关键字</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="linux" style="font-size: 13px;">linux</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi替换命令" style="font-size: 13px;">vi替换命令</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi 搜索 替换" style="font-size: 13px;">vi 搜索 替换</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi 替换0d" style="font-size: 13px;">vi 替换0d</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="linux 替换一行" style="font-size: 13px;">linux 替换一行</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="svn 查找替换命令" style="font-size: 13px;">svn 查找替换命令</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="替换命令 s/" style="font-size: 13px;">替换命令 s/</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi 命令 换行" style="font-size: 13px;">vi 命令 换行</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="VIM 替换所有" style="font-size: 13px;">VIM 替换所有</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi 替换" style="font-size: 13px;">vi 替换</a>(11)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="linux 分隔符 换行 vim" style="font-size: 13px;">linux 分隔符 换行 vim</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vim替换字符串命令" style="font-size: 13px;">vim替换字符串命令</a>(1)<a href="http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/" title="vi替换所有 M" style="font-size: 13px;">vi替换所有 M</a>(1)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F01%2Fvi%25E5%2591%25BD%25E4%25BB%25A4%25E9%2580%259F%25E6%259F%25A5%25E8%25A1%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">vi命令速查表</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table><p><div id="relatedlinks_container_div"></div>
<script language=javascript defer>
  var escFun = window.encodeURIComponent ? window.encodeURIComponent : escape;
  var relatedlinks_js = document.createElement("script");
  relatedlinks_js.setAttribute("charset", "utf-8");
  relatedlinks_js.src = "http://relatedlinks.googlelabs.com/client/client.js?url=" +
      escFun(document.URL) + "&referrer=" + escFun(document.referrer) +
      "&relatedlinks_id=10098_5845376649736343543&title=" + escFun(document.title);
  document.getElementsByTagName("head")[0].appendChild(relatedlinks_js);
</script></p> ]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/07/25/%e5%85%b3%e4%ba%8evi%e6%9b%bf%e6%8d%a2%e5%91%bd%e4%bb%a4%e7%9a%84%e4%bd%bf%e7%94%a8%e8%af%b4%e6%98%8e/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux新手要了解的十个知识点</title>
		<link>http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/</link>
		<comments>http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 14:53:54 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[命令]]></category>
		<category><![CDATA[新手]]></category>
		<category><![CDATA[知识点]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=331</guid>
		<description><![CDATA[Linux新手要了解的十个知识点

　　1.Linux是大小写敏感的系统，举个例子，Mozilla, MOZILLA, mOzilla和 mozilla是四个不同的命令（但是只有第四个mozilla是真正有效的命令）。还有，my_filE, my_file,和 my_FILE是三个不同的文件。用户的登录名和秘密也是大小写敏感的（这是因为UNIX系统和C语言的传统一向是大小写敏感所...<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F24%2Flinux%25E6%2596%2587%25E4%25BB%25B6%25E7%25B3%25BB%25E7%25BB%259F%25E5%259F%25BA%25E7%25A1%2580%25E7%259F%25A5%25E8%25AF%2586%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux文件系统基础知识</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F09%2F02%2Flinux-install-uninstall-software%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何安装、卸载软件</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Linux新手要了解的十个知识点</p>
<p>　　1.Linux是大小写敏感的系统，举个例子，Mozilla, MOZILLA, mOzilla和 mozilla是四个不同的命令（但是只有第四个mozilla是真正有效的命令）。还有，my_filE, my_file,和 my_FILE是三个不同的文件。用户的登录名和秘密也是大小写敏感的（这是因为UNIX系统和C语言的传统一向是大小写敏感所致）。<br />
　　2.文件名最多可以有256个字符，可以包含数字，点号”.”，下划线”_”，横杆”-”，加上其他一些不被建议使用的字符。<br />
　　3.文件名前面带”.”的文件在输入”ls”或者”dir” 命令时一般不显示。可以把这些文件看作是隐含文件，当然你也可以使用命令”ls –a”来显示这些文件。<br />
　　4.“/”对等于DOS下的””(根目录，意味着所有其他目录的父目录，或者是在目录之间和目录和文件之间的一个间隔符号)。举个例子，cd /usr/doc。<br />
　　5.在Linux系统下，所有的目录显示在单一目录树下（有别于DOS系统的驱动器标识）。这意味着所有的物理设备上的所有文件和目录都合并在单一的目录树下。<br />
　　6.在配置文件里，以#打头的行是注释行。在修改配置文件的时候尽量不要删除旧的设置――可以把原来的设置加上”#”变成注释行，总是在修改地方对应地加入一些关于修改的注释，你会发觉在以后的管理中获益多多。<br />
　　7.Linux是继承性的多用户操作系统。你的个人设定（和其他用户的个人设定）放在你的主目录下（一般是/home/your_user_login_name）。许多的配置文件的文件名都以”.”开头，这样用户一般看不到这些文件。<br />
　　8.整个系统范围的设定一般放在目录/etc下。<br />
　　9.和其他的多用户操作系统类似，在Linux下，文件和目录有自己的拥有者和访问权限。一般来说，你只被允许文件到你的主目录下（/home /your_user_login_name）。学习一些关于文件权限管理的相关知识，否则你肯定会觉得Linux实在很麻烦。<br />
　　10.命令参数选项一般由”-”引导，后面跟一个字符（或者”&#8211;“,当选项超过一个字符时）。这样,”-”有点象DOS下的”/”。举个例子，输入命令 rm &#8211;help。<br />
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/'>linux下svn命令大全</a></li>
<li><a href='http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/'>linux：常用命令</a></li>
<li><a href='http://www.pkphp.com/2009/02/05/linux%e4%b8%8b%e5%a6%82%e4%bd%95%e9%87%8d%e5%90%af%e5%8a%a8%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1/'>linux下如何重启动网络服务</a></li>
<li><a href='http://www.pkphp.com/2008/09/02/linux-install-uninstall-software/'>linux下如何安装、卸载软件</a></li>
<li><a href='http://www.pkphp.com/2008/09/02/apache-config-directory-virtualhost/'>apache中虚拟目录和虚拟主机设置</a></li>
</ul>
<a href="http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/" title="linux" style="font-size: 13px;">linux</a>(1)<a href="http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/" title="cialis" style="font-size: 13px;">cialis</a>(1)<a href="http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/" title="linux用户操作记录" style="font-size: 13px;">linux用户操作记录</a>(1)<a href="http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/" title="viagra" style="font-size: 13px;">viagra</a>(1)<a href="http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/" title="php 知识点" style="font-size: 13px;">php 知识点</a>(1)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F24%2Flinux%25E6%2596%2587%25E4%25BB%25B6%25E7%25B3%25BB%25E7%25BB%259F%25E5%259F%25BA%25E7%25A1%2580%25E7%259F%25A5%25E8%25AF%2586%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux文件系统基础知识</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F09%2F02%2Flinux-install-uninstall-software%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何安装、卸载软件</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux下svn命令大全</title>
		<link>http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/</link>
		<comments>http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 13:45:43 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[命令]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=281</guid>
		<description><![CDATA[

1、将文件checkout到本地目录
svn checkout path（path是服务器上的目录）
例如：svn checkout svn://192.168.1.1/pro/domain
简写：svn co
2、往版本库中添加新的文件
 svn add file
例如：svn add test.php(添加test.php)
svn add *.php(添加当前目录下所有的php文件)
3、将改动的文件提交到版本库


 svn...<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">svn错误：Authentication realm 解决办法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2009%2F02%2F05%2Flinux%25E4%25B8%258B%25E5%25A6%2582%25E4%25BD%2595%25E9%2587%258D%25E5%2590%25AF%25E5%258A%25A8%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何重启动网络服务</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<div id="blog_text" class="cnt">
<p><strong>1、</strong>将文件checkout到本地目录</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn checkout</strong> path（path是服务器上的目录）<br />
例如：svn checkout svn:</span><span style="color: #808080;">//</span><span style="font-weight: bold; color: #800000;">192.168</span><span style="color: #000000;">.</span><span style="font-weight: bold; color: #800000;">1.1</span><span style="color: #808080;">/</span><span style="color: #000000;">pro</span><span style="color: #808080;">/</span><span style="color: #000000;">domain<br />
简写：svn co</span></div>
<p><strong>2、</strong>往版本库中添加新的文件</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn </strong></span><span style="color: #0000ff;"><strong>add</strong></span><span style="color: #000000;"> </span><span style="color: #0000ff;">file</span><span style="color: #000000;"><br />
例如：svn </span><span style="color: #0000ff;">add</span><span style="color: #000000;"> test.php(添加test.php)<br />
svn </span><span style="color: #0000ff;">add</span><span style="color: #000000;"> </span><span style="color: #808080;">*</span><span style="color: #000000;">.php(添加当前目录下所有的php文件)</span></div>
<p><strong>3、</strong>将改动的文件提交到版本库</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;">
<p><span style="color: #000000;"> <strong>svn commit</strong> -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">LogMessage</span><span style="color: #000000;">&#8220;</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #800000;">[</span><span style="color: #800000;">-N</span><span style="font-weight: bold; color: #800000;">]</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #800000;">[</span><span style="color: #800000;">--no-unlock</span><span style="font-weight: bold; color: #800000;">]</span><span style="color: #000000;"> PATH<img src="http://www.blogjava.net/Images/dot.gif" alt="" />(如果选择了保持锁，就使用&#8211;no-unlock开关)<br />
例如：svn commit -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">add test file for my test</span><span style="color: #000000;">&#8220;</span><span style="color: #000000;"> test.php<br />
简写：svn ci</span></div>
<p><strong>4、</strong>加锁/解锁</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn lock</strong> -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">LockMessage</span><span style="color: #000000;">&#8220;</span><span style="color: #000000;"> </span><span style="font-weight: bold; color: #800000;">[</span><span style="color: #800000;">--force</span><span style="font-weight: bold; color: #800000;">]</span><span style="color: #000000;"> PATH<img src="http://www.blogjava.net/Images/dot.gif" alt="" /><br />
例如：svn lock -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">lock test  file</span><span style="color: #000000;">&#8220;</span><span style="color: #000000;"> test.php<br />
<strong>svn unlock</strong> PATH</span></div>
<p><strong>5、</strong>更新到某个版本</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn update -r </strong>m path<br />
例如：<br />
svn update如果后面没有目录，默认将当前目录以及子目录下的所有文件都更新到最新版本。<br />
svn update  -r </span><span style="color: #000000;">200</span><span style="color: #000000;"> test.php(将版本库中的文件test.php还原到版本200)<br />
svn update  test.php(更新，于版本库同步。如果在提交的时候提示过期的话，是因为<strong>冲突，需要先update，修改文件</strong>，然后清除<strong>svn  resolved</strong>，最后再提交commit)<br />
简写：svn up</span></div>
<p><strong>6、</strong>查看文件或者目录状态</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> </span><span style="color: #000000;">1</span><span style="color: #000000;">）<strong>svn status</strong> path<img src="http://www.blogjava.net/Images/dot.gif" alt="" />（目录下的文件和子目录的状态，正常状态不显示）<br />
【?：不在svn的控制中；M：内容被修改；C：发生冲突；A：预定加入到版本库；K：被锁定】<br />
</span><span style="color: #000000;">2</span><span style="color: #000000;">）<strong>svn  status -v</strong> path<img src="http://www.blogjava.net/Images/dot.gif" alt="" />(显示文件和子目录状态)<br />
第一列保持相同，第二列显示工作版本号，第三和第四列显示最后一次修改的版本号和修改人。<br />
注：svn status、svn diff和 svn  revert这三条命令在没有网络的情况下也可以执行的，原因是svn在本地的.svn中保留了本地版本的原始拷贝。<br />
简写：svn  st</span></div>
<p><strong>7、</strong>删除文件</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn delete</strong> path -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">delete test  fle</span><span style="color: #000000;">&#8220;</span><span style="color: #000000;"><br />
例如：svn delete svn://</span><span style="color: #000000;">192.168.1.1</span><span style="color: #000000;">/pro/domain/test.php -m </span><span style="color: #000000;">&#8220;</span><span style="color: #000000;">delete test  file</span><span style="color: #000000;">&#8221;<br />
或者直接svn delete test.php  然后再svn ci -m &#8216;delete test file‘，推荐使用这种<br />
简写：svn (del, remove, rm)</span></div>
<p><strong>8、</strong>查看日志</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn log</strong> path<br />
例如：svn log  test.php 显示这个文件的所有修改记录，及其版本号的变化</span></div>
<p><strong>9、</strong>查看文件详细信息</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn info</strong> path<br />
例如：svn info  test.php</span></div>
<p><strong>10、</strong>比较差异</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn diff</strong> path(将修改的文件与基础版本比较)<br />
例如：svn diff test.php<br />
<strong>svn diff</strong> -r m:n  path(对版本m和版本n比较差异)<br />
例如：svn diff -r 200:201 test.php<br />
简写：svn  di</span></div>
<p><strong>11、</strong>将两个版本之间的差异合并到当前文件</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn merge -r</strong> m:n path<br />
例如：svn  merge -r </span><span style="color: #000000;">200</span><span style="color: #000000;">:</span><span style="color: #000000;">205</span><span style="color: #000000;"> test.php（将版本200与205之间的差异合并到当前文件，但是一般都会产生冲突，需要处理一下）</span></div>
<p><strong>12、</strong>SVN 帮助</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn help<br />
svn help  ci</strong></span></div>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>以上是常用命令，下面写几个不经常用的</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>13、</strong>版本库下的文件和目录列表</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"> <strong>svn list </strong>path<br />
显示path目录下的所有属于版本库的文件和目录<br />
简写：svn ls</span></div>
<p><strong>14、</strong>创建纳入版本控制下的新目录</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn mkdir</strong>: 创建纳入版本控制下的新目录。<br />
用法: 1、mkdir PATH&#8230;<br />
2、mkdir URL&#8230;<br />
创建版本控制的目录。<br />
1、每一个以工作副本 PATH 指定的目录，都会创建在本地端，并且加入新增<br />
调度，以待下一次的提交。<br />
2、每个以URL指定的目录，都会透过立即提交于仓库中创建。<br />
在这两个情况下，所有的中间目录都必须事先存在。</p>
<p></span></div>
<p><strong>15、</strong>恢复本地修改</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn revert</strong>: 恢复原始未改变的工作副本文件 (恢复大部份的本地修改)。revert:<br />
用法:  revert PATH&#8230;<br />
注意: 本子命令不会存取网络，并且会解除冲突的状况。但是它不会恢复<br />
被删除的目录</p>
<p></span></div>
<p><strong>16、</strong>代码库URL变更</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn switch (sw):</strong> 更新工作副本至不同的URL。<br />
用法: 1、switch URL  [PATH]<br />
2、switch &#8211;relocate FROM TO [PATH...]</p>
<p>1、更新你的工作副本，映射到一个新的URL，其行为跟“svn update”很像，也会将<br />
服务器上文件与本地文件合并。这是将工作副本对应到同一仓库中某个分支或者标记的<br />
方法。<br />
2、改写工作副本的URL元数据，以反映单纯的URL上的改变。当仓库的根URL变动<br />
(比如方案名或是主机名称变动)，但是工作副本仍旧对映到同一仓库的同一目录时使用<br />
这个命令更新工作副本与仓库的对应关系。</p>
<p></span></div>
<p><strong>17、</strong>解决冲突</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn resolved:</strong> 移除工作副本的目录或文件的“冲突”状态。<br />
用法: resolved  PATH&#8230;<br />
注意: 本子命令不会依语法来解决冲突或是移除冲突标记；它只是移除冲突的<br />
相关文件，然后让 PATH  可以再次提交。</p>
<p></span></div>
<p><strong>18、</strong>输出指定文件或URL的内容。</p>
<div style="border: 1px solid #cccccc; padding: 4px 5px 4px 4px; font-size: 13px; width: 98%; background-color: #eeeeee;"><span style="color: #000000;"><strong>svn </strong><strong>cat</strong> 目标[@版本]&#8230;如果指定了版本，将从指定的版本开始查找。<br />
svn cat -r PREV filename &gt; filename (PREV  是上一版本,也可以写具体版本号,这样输出结果是可以提交的)</p>
<p></span></div>
</div>
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/'>Linux新手要了解的十个知识点</a></li>
<li><a href='http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/'>linux：常用命令</a></li>
<li><a href='http://www.pkphp.com/2009/02/05/linux%e4%b8%8b%e5%a6%82%e4%bd%95%e9%87%8d%e5%90%af%e5%8a%a8%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1/'>linux下如何重启动网络服务</a></li>
<li><a href='http://www.pkphp.com/2008/10/06/svn-authentication-realm/'>svn错误：Authentication realm 解决办法</a></li>
<li><a href='http://www.pkphp.com/2008/09/02/linux-install-uninstall-software/'>linux下如何安装、卸载软件</a></li>
</ul>
<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="http://www.pkphp.com/" style="font-size: 13px;">http://www.pkphp.com/</a>(3)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn update命令" style="font-size: 13px;">svn update命令</a>(9)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="如何清楚svn下的.svn" style="font-size: 13px;">如何清楚svn下的.svn</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn 命令" style="font-size: 13px;">svn 命令</a>(62)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn up skipped " style="font-size: 13px;">svn up skipped </a>(3)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="linux svn" style="font-size: 13px;">linux svn</a>(78)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn" style="font-size: 13px;">svn</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="linux下 删除.svn文件" style="font-size: 13px;">linux下 删除.svn文件</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="php SVN" style="font-size: 13px;">php SVN</a>(8)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn ci 远程" style="font-size: 13px;">svn ci 远程</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="linux svn stat命令" style="font-size: 13px;">linux svn stat命令</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="SVN 命令大全" style="font-size: 13px;">SVN 命令大全</a>(3)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn lock 目錄" style="font-size: 13px;">svn lock 目錄</a>(1)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn命令大全" style="font-size: 13px;">svn命令大全</a>(6)<a href="http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/" title="svn tag 命令" style="font-size: 13px;">svn tag 命令</a>(22)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux：常用命令</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F10%2F06%2Fsvn-authentication-realm%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">svn错误：Authentication realm 解决办法</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2009%2F02%2F05%2Flinux%25E4%25B8%258B%25E5%25A6%2582%25E4%25BD%2595%25E9%2587%258D%25E5%2590%25AF%25E5%258A%25A8%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何重启动网络服务</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>linux：常用命令</title>
		<link>http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/</link>
		<comments>http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 15:51:19 +0000</pubDate>
		<dc:creator>askie</dc:creator>
				<category><![CDATA[LAMP]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[命令]]></category>

		<guid isPermaLink="false">http://www.pkphp.com/?p=88</guid>
		<description><![CDATA[一: Linux下的mysql数据库常用操作

1.登入登出
mysql -uroot -p123456;
mysql &#60;./HostCache.sql -uroot -p123456;
mysql &#60;E:sqlHostCache.sql -uroot -p123456;
show databases;
use HostCache;
show tables;
desc HostCache;
exit;

2.数据操作
alter table voucherwinner modify cpuid varchar(36)...<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2009%2F02%2F05%2Flinux%25E4%25B8%258B%25E5%25A6%2582%25E4%25BD%2595%25E9%2587%258D%25E5%2590%25AF%25E5%258A%25A8%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何重启动网络服务</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux关于vi替换命令的使用说明</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>一: Linux下的mysql数据库常用操作</p>
<p>1.登入登出<br />
mysql -uroot -p123456;<br />
mysql &lt;./HostCache.sql -uroot -p123456;<br />
mysql &lt;E:sqlHostCache.sql -uroot -p123456;<br />
show databases;<br />
use HostCache;<br />
show tables;<br />
desc HostCache;<br />
exit;</p>
<p>2.数据操作<br />
alter table voucherwinner modify cpuid varchar(36);<br />
alter table installerreport add skypeid varchar(32);<br />
update operator set agentid=&#8217;00000124&#8242; where username=&#8217;00000124&#8242;;<br />
select * from HostCache order by TimeStamp;<br />
select * from voucherwinner where skypeid not like &#8216;#%&#8217;;<br />
select ExternalIP, InternalIP from HostCache order by TimeStamp;<br />
delete from HostCache where ISPType = 4;<br />
delete from HostCache;</p>
<p>3.数据导入导出<br />
把数据库skypeuser中的表voucherwinner中的数据导入到voucherwinner文件中。<br />
该命令会把创建表的操作以及插入数据记录以脚本的形式存入文件<br />
mysqldump -h172.24.172.47 -uskypeuser -ptomskype47 skypeuser voucherwinner &gt; voucherwinner</p>
<p>带where条件的数据表导出<br />
mysqldump -h61.135.158.241 -uroot -p &#8211;w &#8220;time &gt;= &#8217;2007-05-03 00:00:00&#8242; and time &lt;= &#8217;2007-05-03 23:59:59&#8242;&#8221; skypeuser</p>
<p>installerreport &gt; installerreport20070503</p>
<p>把记录导入到新库中<br />
mysql -uroot -p skypeuser &lt;voucherwinner;<br />
mysql -h61.135.158.241 -uroot -p skypeuser &lt;installerreport20070503</p>
<p>4.权限分配<br />
在数据库服务器端运行下面命令:<br />
mysql&gt; grant all on *.* to <a href="mailto:username@IP"><span style="color: #0000ff;">username@IP</span></a> identified by &#8216;password&#8217;;<br />
比如:<br />
mysql&gt; grant all on *.* to <a href="mailto:root@192.168.15.96"><span style="color: #0000ff;">root@192.168.15.96</span></a> identified by &#8217;123456&#8242;;</p>
<p>则可以如此访问:<br />
mysql -h192.168.15.96 -uroot -p123456;</p>
<p>修改最大连接数<br />
mysql默认的最大连接数是100,该值存放在mysql的ini文件中,比如:my.ini,找到对应值修改就可以了</p>
<p>二: Linux常用普通操作</p>
<p>1.常见文件操作<br />
cd ../home/tcast/NATServer; 进入到一个目录<br />
cd ${ACE_ROOT}<br />
tail -f 2005-10-28.log 查看正在被其它进程修改的文件<br />
ps -A 显示当前进程列表<br />
ps -ef | grep natserver 查询名字包含natserver的进程是否存在<br />
killall -9 p2pserver    kill进程<br />
kill -9 6499 结束ID为6499的进程<br />
df 查看磁盘使用比例</p>
<p>2.设置定时任务<br />
一个 cron 作业是一个命令，其运行是由 cron 守护程序在规则的调度间隔执行的。<br />
crontab -e 编辑用户的 crontab 文件的副本，或者，如果一个有效的 UserName 的 crontab 文件不存在则创建一个空的文件进行编辑。当编</p>
<p>辑完成后，文件被到 crontab 目录作为用户的 crontab 文件。</p>
<p>例如：增加一条每天9点16执行一次的任务，则添加如下文字：<br />
16      9       *       *       *       echo &#8220;hello&#8221; &gt; /root/hello.txt</p>
<p>crontab -l 列出用户的 crontab 文件。</p>
<p>3.显示或修改系统时间<br />
date<br />
date -s &#8216;Sat Apr 21 09:55:11 CST 2007&#8242;</p>
<p>4.远程登录<br />
ssh 61.135.234.140 从一台Linux系统登录到另一台Linux系统<br />
exit 从那台Linux系统中退出</p>
<p>三: 环境变量相关</p>
<p>locale 查看本地化设置（locale的东东在/usr/lib/locale下）<br />
export LANG=zh_CN 设置本地化的变量<br />
export LANG= 设置这个变量为空<br />
uname -a 查看操作系统，CPU的信息<br />
top   查看进程使用CPU，内存的情况<br />
env 查看环境变量<br />
/etc/profile 环境变量的文件,可以设置<br />
export path添加环境变量路径<br />
export CPPFLAGS=&#8221;-I/data/TOMSKYPEIVR/asterisk/include&#8221;<br />
export LD_LIBRARY_PATH=/data/TOMSKYPEIVR/cpprad/lib<br />
echo $CPPFLAGS<br />
${ACE_ROOT}<br />
su -root</p>
<p>四: C/C++编译和调试</p>
<p>1.常用操作<br />
vi makefile 编辑makefile文件<br />
make 编译当前目录下的源码<br />
./kill.sh 运行结束程序的脚本<br />
ctrl + c 结束控制台下正在运行的程序<br />
chmod a+x tcastchanroot 修改文件属性使其可以运行<br />
./runnewtcast.sh &amp; 后台运行脚本<br />
nohup ./tcastchanroot &gt;runlog 不挂起执行程序, 输出定向到文件runlog</p>
<p>2.gdb调试相关<br />
gdb ./reportserver 开始调试reportserver程序<br />
b main 在main()处设置断点<br />
b CReportServer::svc 在CReportServer:svc()处设置断点<br />
b 100 在当前文件的第100行放置断点<br />
d 删除所有断点<br />
start 开始以调试状态运行程序<br />
t 显示当前线程情况<br />
p argc 显示变量情况<br />
s 进入函数内执行<br />
n 跳到下一行执行<br />
c 跳到下一个断点执行<br />
quit 退出调试</p>
<p>ulimit -c unlimited 设置运行时产生调试信息<br />
gdb tcastchanroot core.6200 调入调试信息查看<br />
where 模块结构<br />
五: 文本操作命令</p>
<p>1.常见操作<br />
tail -f 2005-10-31.log :查看日志<br />
cat /proc/cpuinfo 只读的形式打开文本文件</p>
<p>grep MyKeyword statistics.2006102700.log<br />
grep MyKeyword statistics.2006102800.log | wc<br />
grep MyKeyword statistics.2006102800.log | awk &#8216;{print$1}&#8217; | sort -u | wc<br />
在日志statistics.2006102800.log的每行中出现过MyKeyword的行中，打印他们的第1列内容不重复的行数</p>
<p>cat testsetuplog2006-10-28 | awk &#8216;{print$3}&#8217; | sort -u | wc<br />
cat testsetuplog2006-10-30 | awk &#8216;{print $6}&#8217; | grep 0 | wc<br />
cat testsetuplog2006-11-15 | awk &#8216;($5$6==62) {print $4}&#8217; | sort -u | wc<br />
在日志testsetuplog2006-11-15的每行中，第5列等于6，第5列等于2的行中，打印他们的第4列内容不重复的行数</p>
<p>cat ExportMac2005.txt &gt; mac.txt   把ExportMac2005.txt的内容拷贝到另外一个文件mac.txt<br />
cat ExportMac2006-01-01.txt &gt;&gt; mac.txt  把ExportMac2006-01-01.txt的内容追加到文件mac.txt<br />
wc mac.txt     对mac.txt中的内容条数进行统计<br />
cat mac.txt | sort -u | wc   对mac.txt中的不重复内容条数进行统计<br />
cat mac.txt | sort -u &gt; macunique.txt  把mac.txt中的不重复内容条数拷贝到macunique.txt</p>
<p>grep &#8216;Radius&#8217; *  在当前文件夹下的所有文件中搜索出现Radius的地方<br />
find -name  Main.cpp    搜索文件名为Main.cpp的文件所在路径</p>
<p>2. vi命令<br />
i从命令模式到插入模式<br />
ESC从插入模式到命令模式<br />
命令模式滚屏：ctrl＋f<br />
yy复制当前行<br />
p粘贴<br />
dd删除当前行<br />
/xx 在文档中查找xx字符串, n查找下一个<br />
:wq</p>
<p>将文本中的installerreport替换成为installerreport20070503<br />
:g/installerreport/s/installerreport/installerreport20070503/g<br />
六:文件系统操作</p>
<p>touch xxx 创建新文件<br />
mkdir xxx 创建新目录<br />
mv jspwiki-2.2.33-bin.zip ../../usr/tomcat55/webapps/<br />
mv(move)可以将文件移动到另一个地方，或者更改文件名称(Lniux中并没有ren或rename命令来更改文件名)。</p>
<p>cp JSPWiki.war ../JSPWiki.war<br />
rm -rf WEB-INF  强制删除有内容的文件夹<br />
rm xa* 删除所有xa开头的文件<br />
split -l 10000 ExportMac.txt 把ExportMac.txt分割成多个文件，每个文件10000行<br />
cp -a ./star_zh_CN ../../../tomwiki/templates/start_zh_CN 拷贝整个目录<br />
cp -a ./star_zh_CN ../../../tomwiki/templates/start_zh_CN 拷贝，使用绝对路径</p>
<p>ln<br />
这是linux中一个非常重要命令，请大家一定要熟悉。它的功能是为某一个文件在另外一个位置建立一个同不的链接，这个命令最常用的参数是</p>
<p>-s,具体用法是：ln -s 源文件 目标文件。<br />
当我们需要在不同的目录，用到相同的文件时，我们不需要在每一个需要的目录下都放一个必须相同的文件，我们只要在某个固定的目录，放</p>
<p>上该文件，然后在其它的目录下用ln命令链接（link）它就可以，不必重复的占用磁盘空间。例如：ln -s /bin/less /usr/local/bin/less<br />
-s 是代号（symbolic）的意思。<br />
这里有两点要注意：第一，ln命令会保持每一处链接文件的同步性，也就是说，不论你改动了哪一处，其它的文件都会发生相同的变化；第二</p>
<p>，ln的链接又软链接和硬链接两种，软链接就是ln -s ** **,它只会在你选定的位置上生成一个文件的镜像，不会占用磁盘空间，硬链接ln **</p>
<p>**,没有参数-s, 它会在你选定的位置上生成一个和源文件大小相同的文件，无论是软链接还是硬链接，文件都保持同步变化。<br />
如果你用ls察看一个目录时，发现有的文件后面有一个@的符号，那就是一个用ln命令生成的文件，用ls -l命令去察看，就可以看到显示的</p>
<p>link的路径了。</p>
<p>从网络上获取并下载一个文件到当前目录下<br />
wget <a href="http://www.blogdove.com/nnt.tar.gz" rel="nofollow"><span style="color: #0000ff;">http://www.blogdove.com/nnt.tar.gz</span></a></p>
<p>文件传输命令，将当前目录的.so文件传到机器211.99.190.120的/data/TOMSKYPEIVR/asterisk/lib/asterisk/modules/下<br />
scp *.so <a href="mailto:web@211.99.190.120:/data/TOMSKYPEIVR/asterisk/lib/asterisk/modules/"><span style="color: #0000ff;">web@211.99.190.120:/data/TOMSKYPEIVR/asterisk/lib/asterisk/modules/</span></a></p>
<p>七: 压缩解压命令</p>
<p>unzip JSPWiki.zip<br />
unzip -d ../JSPWiki JSPWiki.zip 解压zip包<br />
unrar x udt2.rar 解压rar包</p>
<p>gunzip backup.tar.gz &amp;<br />
tar xvf backup.tar</p>
<p>tar zxvf KingSoftUnion.tar.gz 解压后缀为tar.gz的文件。<br />
tar jxvf upx-3.00-i386_linux.tar.bz2 解压后缀为tar.bz2的文件。</p>
<p>打包一个文件夹成压缩文件<br />
tar zcvf KingSoftUnion.tar.gz KingSoftUnion/</p>
<p>八:PHP命令</p>
<p>php ExportMac.php 执行一个php脚本</p>
<p>九: 后台执行命令</p>
<p>启动一个程序时让它立即进入后台运行方式<br />
看过前面一篇bash的介绍应该明白Ctrl＋z／bg／fg的用法。有些程序工作起来挺费时间，在它后面加个＆符号看看，例如“updatedb ＆</p>
<p>”，“netscape ＆”等等。这样这个shell会释放出来干别的活。请注意这样出来的程序父进程仍然是这个shell，若你退出这个shell，这些</p>
<p>程序也会被kill掉。建议退出shell之前用jobs命令查看后台作业。<br />
使用nohup（不挂起）命令<br />
如果想进程在你退出系统后还能执行，可以使用nohup命令如：<br />
％ nohup tar －cf ／dev／tape ／home ＆<br />
如logout退出后再重新登录的话，使用“ps”命令可以看到进程还在执行。注意，要想把命令真正放到后台运行，nohup必须与＆操作同时</p>
<p>使用。有些软件自己能处理SIGHUP信号，如wget，对它们则无须用nohup。<br />
你还可以用nohup来实现ppp回拨：先拨号上去，然后以nohup执行一个自制的脚本，如“sleep 60； ppp－start－script”等等。最后</p>
<p>logout退出并挂断电话等着就是。<br />
十: 软件包通用安装方法</p>
<p>1.百度或者Google得到安装包的下载路径，比如在google中搜lrzsz，得到<br />
<a href="http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz" rel="nofollow"><span style="color: #0000ff;">http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz</span></a><br />
在linux下<br />
wget <a href="http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz" rel="nofollow"><span style="color: #0000ff;">http://www.ohse.de/uwe/releases/lrzsz-0.12.20.tar.gz</span></a></p>
<p>2.解压软件包<br />
tar zxvf lrzsz-0.12.20.tar.gz</p>
<p>3. 安装三部曲<br />
./configure &#8211;prefix=/data/TOMSKYPEIVR/bin<br />
make<br />
make install<br />
<h3 class="bsuite_related">Related items</h3>
<ul class="bsuite_related">
<li><a href='http://www.pkphp.com/2008/07/25/linux%e6%96%b0%e6%89%8b%e8%a6%81%e4%ba%86%e8%a7%a3%e7%9a%84%e5%8d%81%e4%b8%aa%e7%9f%a5%e8%af%86%e7%82%b9/'>Linux新手要了解的十个知识点</a></li>
<li><a href='http://www.pkphp.com/2008/07/15/linux%e4%b8%8bsvn%e5%91%bd%e4%bb%a4%e5%a4%a7%e5%85%a8/'>linux下svn命令大全</a></li>
<li><a href='http://www.pkphp.com/2009/02/05/linux%e4%b8%8b%e5%a6%82%e4%bd%95%e9%87%8d%e5%90%af%e5%8a%a8%e7%bd%91%e7%bb%9c%e6%9c%8d%e5%8a%a1/'>linux下如何重启动网络服务</a></li>
<li><a href='http://www.pkphp.com/2008/09/02/linux-install-uninstall-software/'>linux下如何安装、卸载软件</a></li>
<li><a href='http://www.pkphp.com/2008/09/02/apache-config-directory-virtualhost/'>apache中虚拟目录和虚拟主机设置</a></li>
</ul>
<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="mysqldump 导出数据 条数" style="font-size: 13px;">mysqldump 导出数据 条数</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux 远程登录 命令 退出后 保持" style="font-size: 13px;">linux 远程登录 命令 退出后 保持</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux解压war文件的命令" style="font-size: 13px;">linux解压war文件的命令</a>(2)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux 解压缩.war命令" style="font-size: 13px;">linux 解压缩.war命令</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="软链接 打包到war" style="font-size: 13px;">软链接 打包到war</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux解压缩命令 war" style="font-size: 13px;">linux解压缩命令 war</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="查看文件记录条数 命令" style="font-size: 13px;">查看文件记录条数 命令</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="mysql" style="font-size: 13px;">mysql</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux mysql 调试　　log" style="font-size: 13px;">linux mysql 调试　　log</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux命令解压war" style="font-size: 13px;">linux命令解压war</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux 解压 war" style="font-size: 13px;">linux 解压 war</a>(17)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="cronjob 运行Zend" style="font-size: 13px;">cronjob 运行Zend</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux 命令 解压缩 war" style="font-size: 13px;">linux 命令 解压缩 war</a>(2)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="linux war包 解压命令" style="font-size: 13px;">linux war包 解压命令</a>(1)<a href="http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/" title="php执行linux命令" style="font-size: 13px;">php执行linux命令</a>(1)<br /><table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F15%2Flinux%25E4%25B8%258Bsvn%25E5%2591%25BD%25E4%25BB%25A4%25E5%25A4%25A7%25E5%2585%25A8%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下svn命令大全</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2Flinux%25E6%2596%25B0%25E6%2589%258B%25E8%25A6%2581%25E4%25BA%2586%25E8%25A7%25A3%25E7%259A%2584%25E5%258D%2581%25E4%25B8%25AA%25E7%259F%25A5%25E8%25AF%2586%25E7%2582%25B9%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux新手要了解的十个知识点</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2009%2F02%2F05%2Flinux%25E4%25B8%258B%25E5%25A6%2582%25E4%25BD%2595%25E9%2587%258D%25E5%2590%25AF%25E5%258A%25A8%25E7%25BD%2591%25E7%25BB%259C%25E6%259C%258D%25E5%258A%25A1%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux下如何重启动网络服务</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.pkphp.com%2F2008%2F07%2F25%2F%25E5%2585%25B3%25E4%25BA%258Evi%25E6%259B%25BF%25E6%258D%25A2%25E5%2591%25BD%25E4%25BB%25A4%25E7%259A%2584%25E4%25BD%25BF%25E7%2594%25A8%25E8%25AF%25B4%25E6%2598%258E%2F&from=http%3A%2F%2Fwww.pkphp.com%2F2008%2F06%2F23%2Flinux%25EF%25BC%259A%25E5%25B8%25B8%25E7%2594%25A8%25E5%2591%25BD%25E4%25BB%25A4%2F" rel="nofollow">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">linux关于vi替换命令的使用说明</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件" rel="nofollow">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.pkphp.com/2008/06/23/linux%ef%bc%9a%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

