aboutsummaryrefslogtreecommitdiff
path: root/zh_CN.GB2312/books/handbook/basics/chapter.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'zh_CN.GB2312/books/handbook/basics/chapter.sgml')
-rw-r--r--zh_CN.GB2312/books/handbook/basics/chapter.sgml11
1 files changed, 8 insertions, 3 deletions
diff --git a/zh_CN.GB2312/books/handbook/basics/chapter.sgml b/zh_CN.GB2312/books/handbook/basics/chapter.sgml
index 88bfc4d7ba..dfdfec0f04 100644
--- a/zh_CN.GB2312/books/handbook/basics/chapter.sgml
+++ b/zh_CN.GB2312/books/handbook/basics/chapter.sgml
@@ -2,7 +2,7 @@
The FreeBSD Documentation Project
The FreeBSD Simplified Chinese Project
- Original Revision: 1.154
+ Original Revision: 1.156
$FreeBSD$
-->
@@ -690,12 +690,12 @@ root 5211 0.0 0.2 3620 1724 2 I+ 2:09AM 0:00.01 passwd</screen>
可以在权限数值前面增加数字二 (2) 来运行 <command>chmod</command> 命令,
如下面的例子所示:</para>
- <screen>&prompt.root; <userinput>chmod 2755 suidexample.sh</userinput></screen>
+ <screen>&prompt.root; <userinput>chmod 2755 sgidexample.sh</userinput></screen>
<para>可以用与前面类似的方法来检视新设定的生效情况, 在组权限的地方的
<literal>s</literal> 表示这一配置已经生效:<para>
- <screen>-rwxr-sr-x 1 trhodes trhodes 44 Aug 31 01:49 suidexample.sh</screen>
+ <screen>-rwxr-sr-x 1 trhodes trhodes 44 Aug 31 01:49 sgidexample.sh</screen>
<note>
<para>在这些例子中, 尽管 shell 脚本也属于可执行文件的一种,
@@ -2235,6 +2235,11 @@ Swap: 256M Total, 38M Used, 217M Free, 15% Inuse
学习如<application>vim</application> 或 <application>emacs</application>
这些有强大功能的编辑器用法,
在长时间工作里会帮您节省不少的时间。</para>
+
+ <para>很多需要修改文件或打字输入的应用程序都会自动打开一个文本编辑器。
+ 更改默认使用的编辑器, 请设置 <envar>EDITOR</envar>
+ 环境变量。 参阅 <link linkend="shells">shells</link>
+ 以获取更多详细信息。</para>
</sect1>
<sect1 id="basics-devices">