<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: 不推荐的命令行用法</title>
	<atom:link href="http://linuxtoy.org/archives/nonrecommended-command-line-usage.html/feed" rel="self" type="application/rss+xml" />
	<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html</link>
	<description>LinuxTOY 是一个致力于提供 Linux 相关资讯的专题站点。如果您发现了好用好玩的 Linux 东东并愿意发扬自由、分享的精神，可以点击顶部导航 Contact 按钮进行投稿。</description>
	<lastBuildDate>Fri, 25 May 2012 02:33:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: xiwang</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-150669</link>
		<dc:creator>xiwang</dc:creator>
		<pubDate>Mon, 05 Apr 2010 03:32:48 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-150669</guid>
		<description>&lt;p&gt;我习惯用pkill xxx
我最近加了sudo,因为感觉su进入root之后很多环境配置自己都不习惯了
/etc/sudoers默认是没法改写的。
查看进程现在我用htop，感觉不错。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>我习惯用pkill xxx
我最近加了sudo,因为感觉su进入root之后很多环境配置自己都不习惯了
/etc/sudoers默认是没法改写的。
查看进程现在我用htop，感觉不错。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 飯の狂熱</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-104088</link>
		<dc:creator>飯の狂熱</dc:creator>
		<pubDate>Tue, 17 Feb 2009 09:21:49 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-104088</guid>
		<description>&lt;p&gt;我每次都是直接vim /etc/group的,
因為我老是不記得什麼addgroup還是groupadd怎麼用...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>我每次都是直接vim /etc/group的,
因為我老是不記得什麼addgroup還是groupadd怎麼用...</p>]]></content:encoded>
	</item>
	<item>
		<title>By: fcicq</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103965</link>
		<dc:creator>fcicq</dc:creator>
		<pubDate>Mon, 16 Feb 2009 11:19:43 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103965</guid>
		<description>&lt;p&gt;@daqing
和 /var/run/xxxx.pid 相关的东西, 一般认为需要和 start-stop-daemon 一起使用, 不推荐直接 kill. 而且它有 --signal 参数.
nginx reload 的问题推荐改过来.&lt;/p&gt;

&lt;p&gt;@walkerxk
偶编辑 /etc/sudoers 居然能保存? 而且 ls -l 是这样的:
-r--r----- 1 root root --- --- /etc/sudoers
难不成这和 Extended Attributes 有关? 还是 root 用户太强大?&lt;/p&gt;

&lt;p&gt;to 楼上: 谢谢提醒.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@daqing
和 /var/run/xxxx.pid 相关的东西, 一般认为需要和 start-stop-daemon 一起使用, 不推荐直接 kill. 而且它有 --signal 参数.
nginx reload 的问题推荐改过来.</p>

<p>@walkerxk
偶编辑 /etc/sudoers 居然能保存? 而且 ls -l 是这样的:
-r--r----- 1 root root --- --- /etc/sudoers
难不成这和 Extended Attributes 有关? 还是 root 用户太强大?</p>

<p>to 楼上: 谢谢提醒.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: davix</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103930</link>
		<dc:creator>davix</dc:creator>
		<pubDate>Mon, 16 Feb 2009 05:22:43 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103930</guid>
		<description>&lt;p&gt;希望作者增加自己的中文表達能力&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>希望作者增加自己的中文表達能力</p>]]></content:encoded>
	</item>
	<item>
		<title>By: walkerxk</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103884</link>
		<dc:creator>walkerxk</dc:creator>
		<pubDate>Mon, 16 Feb 2009 01:41:43 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103884</guid>
		<description>&lt;p&gt;一直用sudo，root被我禁用（sudo passwd root -l）root下如果有什么误操作，后悔都来不及。
为什么会有sudo su？用root的权限执行su？直接su不就行了？
pkill和killall的区别在于一般情况下pkill功能强大，但是killall简单，而且有些功能pkill没有。
sudo nano /etc/sudoers应该是不能保存的吧，我当时用vi，就是提示无法保存，其实使用nano也是不建议的用法，nano功能太简单了。就像gedit一样，都被我用vi和gvim替代了。
kill &lt;code&gt;pgrep something&lt;/code&gt;就没有必要了，直接pkill
ps -el
ps aux
用途不一样，很难说哪个更好。
su和su-的环境不同，但是有时就是要使用非root的环境变量。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>一直用sudo，root被我禁用（sudo passwd root -l）root下如果有什么误操作，后悔都来不及。
为什么会有sudo su？用root的权限执行su？直接su不就行了？
pkill和killall的区别在于一般情况下pkill功能强大，但是killall简单，而且有些功能pkill没有。
sudo nano /etc/sudoers应该是不能保存的吧，我当时用vi，就是提示无法保存，其实使用nano也是不建议的用法，nano功能太简单了。就像gedit一样，都被我用vi和gvim替代了。
kill <code>pgrep something</code>就没有必要了，直接pkill
ps -el
ps aux
用途不一样，很难说哪个更好。
su和su-的环境不同，但是有时就是要使用非root的环境变量。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: allbluedream</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103880</link>
		<dc:creator>allbluedream</dc:creator>
		<pubDate>Mon, 16 Feb 2009 01:23:28 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103880</guid>
		<description>&lt;p&gt;@&lt;a href=&quot;#comment-103686&quot; rel=&quot;nofollow&quot;&gt;fcicq&lt;/a&gt;: 记错了，我是一直用SIGKILL&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@<a href="#comment-103686" rel="nofollow">fcicq</a>: 记错了，我是一直用SIGKILL</p>]]></content:encoded>
	</item>
	<item>
		<title>By: fortruth</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103835</link>
		<dc:creator>fortruth</dc:creator>
		<pubDate>Sun, 15 Feb 2009 14:17:14 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103835</guid>
		<description>&lt;p&gt;同意这样的说法   &lt;/p&gt;

&lt;p&gt;(最好把用和不用的原因写出来, 否则鬼才看的懂这篇文章要表达的意思…)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>同意这样的说法   </p>

<p>(最好把用和不用的原因写出来, 否则鬼才看的懂这篇文章要表达的意思…)</p>]]></content:encoded>
	</item>
	<item>
		<title>By: eagleguo998</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103824</link>
		<dc:creator>eagleguo998</dc:creator>
		<pubDate>Sun, 15 Feb 2009 13:53:29 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103824</guid>
		<description>&lt;p&gt;没明白。我一直用su -。&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>没明白。我一直用su -。</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Moses</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103820</link>
		<dc:creator>Moses</dc:creator>
		<pubDate>Sun, 15 Feb 2009 13:19:20 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103820</guid>
		<description>&lt;p&gt;最好把用和不用的原因写出来, 否则鬼才看的懂这篇文章要表达的意思...&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>最好把用和不用的原因写出来, 否则鬼才看的懂这篇文章要表达的意思...</p>]]></content:encoded>
	</item>
	<item>
		<title>By: 停电了</title>
		<link>http://linuxtoy.org/archives/nonrecommended-command-line-usage.html#comment-103818</link>
		<dc:creator>停电了</dc:creator>
		<pubDate>Sun, 15 Feb 2009 13:18:37 +0000</pubDate>
		<guid isPermaLink="false">http://linuxtoy.org/?p=2825#comment-103818</guid>
		<description>&lt;p&gt;而且直接用root 作平常事..........&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>而且直接用root 作平常事..........</p>]]></content:encoded>
	</item>
</channel>
</rss>

