1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4
<!ENTITY % globalent SYSTEM "../../../libs/global.ent">
6
<!ENTITY % kde-menus-C SYSTEM "../../../libs/kde-menus-C.ent">
8
<!ENTITY language "en">
13
>The Basics of &kubuntu;</title>
17
>This document introduces the basics of the &kubuntu; system, which are useful for getting started with &kubuntu;. </para>
26
>请参见涉及 <ulink type="help" url="help:/kubuntu/cli/"
32
<sect1 id="filesystem">
37
>要完整地了解 Linux 文件系统,建议阅读 <ulink url="http://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/"
38
>Linux 文件系统层次结构</ulink
39
>,它托管于 <ulink url="http://tldp.org/"
44
>文件系统是一种组织和存储文件的方法,不仅 Linux 有,其他操作系统也有。在 Linux 中,绝大多数的文件是 <quote
56
> 之外。用户所最常接触的常规文件、文件夹和链接。 </para>
58
>Opening a terminal (in &kubuntu; this is called <application
62
> brings up a list similar to the following: <screen
90
>列表外观可能与上面的不尽相同。 </para>
93
>以下是对上面列出的文件或文件夹的概述。 </para>
99
><filename class="directory"
104
>包含对系统管理员(具有完全访问权限)和一般用户(具有受限的访问权限)有用的终端命令。该文件夹中的命令对于 Linux 系统运行至关重要。<filename class="directory"
119
><filename class="directory"
124
>Contains the files required for the boot process. In the case of &kubuntu;, it contains the files for the <application
126
> boot-loader, master boot records, map files, and the Linux kernel. </para>
131
><filename class="symlink"
136
>指向 <filename class="directory"
137
>/media/cdrom</filename
141
>symbolic link</quote
142
>,而它本身又是指向 <filename class="directory"
143
>/media/cdrom0</filename
150
> 驱动器,CD 中的内容将出现在 <filename class="directory"
151
>/media/cdrom0</filename
157
><filename class="directory"
162
>特殊文件或设备文件的位置。例如,<filename class="devicefile"
169
><filename class="directory"
174
>包含所有系统相关的配置文件,用于控制程序运行。 </para>
179
><filename class="directory"
184
>包含系统中每位用户的一个主文件夹。用户的主文件夹可以包含个人配置文件和文档、音乐、视频文件及其他用户定义的文件夹和文件。 </para>
189
><filename class="symlink"
190
>initrd.img</filename
195
>/boot/initrd.img-<kernel version></filename
198
>(符号链接),系统启动需要它。 </para>
203
><filename class="directory"
208
>包含启动系统和运行程序所需的内核模块及共享库映像。 </para>
213
><filename class="directory"
218
>同上面的 <filename class="directory"
220
> ,但只含 32-位版本。 </para>
225
><filename class="symlink"
230
>同上面的 <filename class="directory"
232
>,但只含 64-位版本。 </para>
237
><filename class="directory"
238
>lost+found</filename
242
>包含因异常关闭或系统崩溃而执行的恢复操作的结果文件。 </para>
247
><filename class="directory"
252
>包含用作可移动介质挂载点的子文件夹,可移动介质包括 <acronym
261
><filename class="directory"
266
>文件系统或设备的通用挂载点。多数情况下,大部分设备将自动挂载到 <filename class="directory"
273
><filename class="directory"
280
>(可选)的简写。该文件夹用于附加的软件包,很典型的就是用户手动安装的程序。 </para>
285
><filename class="directory"
290
>虚拟文件系统,包含以文件形式的结构存在的运行时系统信息。 </para>
295
><filename class="directory"
307
><filename class="directory"
312
>包含系统运行必需的程序,如<command
325
><filename class="directory"
330
>一个伪文件系统,包含了用于安全增强特性的内核子系统所使用的命令。 </para>
335
><filename class="directory"
340
>包含了系统所提供的站点特定数据 </para>
345
><filename class="directory"
350
>包含 Linux 内核、固件和系统相关文件。 </para>
355
><filename class="directory"
360
>包含临时需要的文件。很多程序用该文件夹创建锁文件和暂时保存数据。 </para>
365
><filename class="directory"
370
>它包含系统中的共享数据最多,包括只读用户数据及文件和程序,如程序二进制文件、文档、库、头文件等等。 </para>
375
><filename class="directory"
380
>包含可变数据,如系统日志文件、邮件和打印缓冲池文件夹,还有短暂和临时文件。 </para>
385
><filename class="symlink"
390
>一个指向压缩的可执行 Linux 内核的 <abbrev
398
<!-- USERS AND GROUPS -->
399
<sect1 id="users-and-groups">
403
>由于 Linux 是一个真正的多用户操作系统,<emphasis
407
> 的原理对系统的内部运作和日常使用都十分重要。Linux 对用户和用户组的处理是它成为最安全的操作系统之一的原因。 </para>
416
><emphasis role="strong"
418
> 是实际使用系统的用户。他们拥有用户 ID 号(一般是惟一的) 和组 ID 号。 </para>
422
><emphasis role="strong"
424
> 不是绑定到用户,而是绑定到应用程序执行特定任务所使用的一项系统功能。Daemons、mail、news 是逻辑用户的例子。 </para>
432
>用户组是组织上的逻辑用语。它们将用户集在一起,提供基于组的,而不是基于用户的权限。常见的用户组包括 <emphasis
443
<sect1 id="permissions">
447
>在多用户环境中,用户和系统数据安全很重要。Linux 有三种特定的,明晰的分类: </para>
451
><emphasis role="strong"
459
><emphasis role="strong"
467
><emphasis role="strong"
475
>上面用 <emphasis role="strong"
477
> 列出了每种权限的符号记法。每种权限还有一种八进制记法: </para>
481
><emphasis role="strong"
489
><emphasis role="strong"
497
><emphasis role="strong"
510
>,它会列出当前用户主文件夹下的文件夹和文件清单。例如:<screen>
511
drwxr-xr-x 2 username usergroup 4096 2009-12-17 11:10 Documents
513
> 包含 <emphasis role="strong"
514
>drwxr-xr-x</emphasis
515
>, 的第一列可以这样解释: </para>
518
<colspec colname="col_0"/>
519
<colspec colname="col_1"/>
520
<colspec colname="col_2"/>
521
<colspec colname="col_3"/>
537
><emphasis role="strong"
543
><emphasis role="strong"
551
> permissions for the user. </entry>
553
><emphasis role="strong"
559
> permissions for the group. </entry>
561
><emphasis role="strong"
567
> permissions for all others. </entry>
573
<sect2 id="octal-symbolic-summary">
660
<sect1 id="processes">
664
>进程是计算机程序的运行实例。进程是 Linux 系统中仅次于文件的最重要的部分。 </para>
667
>Viewing Processes in &kubuntu;</title>
679
> - Starts &kde;' <application
680
>s System Activity</application
681
> dialog where processes can be viewed and killed. </para>
691
> - Open <application
692
>Konsole</application
693
> by going to &menukonsole; and type: <screen
705
sgml-minimize-attributes:nil
706
sgml-general-insert-case:lower
711
vim: tabstop=2:shiftwidth=2:expandtab:indentexpr=:tw=80:
712
kate: space-indent on; indent-width 2; tab-width 2; indent-mode none;