Add 21 new indexterms
Submitted by: Valentino Vaschetto <valentino.vaschetto@windriver.com>
This commit is contained in:
parent
bc13973c72
commit
60cc02d17a
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=9761
1 changed files with 31 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
<!--
|
||||
The FreeBSD Documentation Project
|
||||
|
||||
$FreeBSD: doc/en_US.ISO_8859-1/books/handbook/basics/chapter.sgml,v 1.23 2000/12/15 21:52:34 jim Exp $
|
||||
$FreeBSD: doc/en_US.ISO8859-1/books/handbook/basics/chapter.sgml,v 1.24 2001/04/17 01:37:30 dd Exp $
|
||||
-->
|
||||
|
||||
<chapter id="basics">
|
||||
|
@ -9,6 +9,7 @@
|
|||
|
||||
<sect1>
|
||||
<title>Synopsis</title>
|
||||
<indexterm><primary>basics</primary></indexterm>
|
||||
|
||||
<para><emphasis>Rewritten by Chris Shumway
|
||||
<email>cshumway@osd.bsdi.com</email>, 10 Mar 2000.</emphasis></para>
|
||||
|
@ -21,6 +22,7 @@
|
|||
|
||||
<sect1 id="permissions">
|
||||
<title>Permissions</title>
|
||||
<indexterm><primary>UNIX</primary></indexterm>
|
||||
|
||||
<para>FreeBSD, having its history rooted in BSD UNIX, has its
|
||||
fundamentals based on several key UNIX concepts. The first, and
|
||||
|
@ -38,6 +40,11 @@
|
|||
everyone else. This numerical representation works like
|
||||
this:</para>
|
||||
|
||||
<indexterm><primary>permissions</primary></indexterm>
|
||||
<indexterm>
|
||||
<primary>files</primary>
|
||||
<secondary>permissions</secondary>
|
||||
</indexterm>
|
||||
<informaltable frame="none">
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
|
@ -99,6 +106,8 @@
|
|||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
<indexterm><primary>ls</primary></indexterm>
|
||||
<indexterm><primary>directories</primary></indexterm>
|
||||
|
||||
<para>For the long directory listing by <command>ls -l</command>, a
|
||||
column will show a file's permissions for the owner, group, and
|
||||
|
@ -143,6 +152,7 @@
|
|||
|
||||
<sect1 id="dirstructure">
|
||||
<title>Directory Structures</title>
|
||||
<indexterm><primary>directory hierarchy</primary></indexterm>
|
||||
|
||||
<para>Since FreeBSD uses its file systems to determine many
|
||||
fundamental system operations, the hierarchy of the file system is
|
||||
|
@ -174,6 +184,8 @@
|
|||
|
||||
<sect1 id="shells">
|
||||
<title>Shells</title>
|
||||
<indexterm><primary>shells</primary></indexterm>
|
||||
<indexterm><primary>command-line</primary></indexterm>
|
||||
|
||||
<para>In FreeBSD, a lot of everyday work is done in a command line
|
||||
interface called a shell. A shell's main job is to take commands
|
||||
|
@ -212,12 +224,14 @@
|
|||
it was able to complete to <literal>foo</literal>. If you type in
|
||||
<literal>.</literal>, then hit TAB again, the shell would be able to
|
||||
fill in the rest of the filename for you.</para>
|
||||
<indexterm><primary>environment variables</primary></indexterm>
|
||||
|
||||
<para>Another function of the shell is environment variables.
|
||||
Environment variables are a variable key pair stored in the shell's
|
||||
environment space. This space can be read by any program invoked by
|
||||
the shell, and thus contains a lot of program configuration. Here
|
||||
is a list of common environment variables and what they mean:</para>
|
||||
<indexterm><primary>enviornment variables</primary></indexterm>
|
||||
|
||||
<informaltable frame="none">
|
||||
<tgroup cols="2">
|
||||
|
@ -293,6 +307,7 @@
|
|||
</tgroup>
|
||||
</informaltable>
|
||||
|
||||
<indexterm><primary>Bourne shells</primary></indexterm>
|
||||
<para>To view or set an environment variable differs somewhat from
|
||||
shell to shell. For example, in the C-Style shells such as tcsh
|
||||
and csh, you would use <command>setenv</command> to set and view
|
||||
|
@ -375,12 +390,15 @@
|
|||
|
||||
<sect1 id="editors">
|
||||
<title>Text Editors</title>
|
||||
<indexterm><primary>text editors</primary></indexterm>
|
||||
<indexterm><primary>editors</primary></indexterm>
|
||||
|
||||
<para>A lot of configuration in FreeBSD is done by editing a text
|
||||
file. Because of this, it would be a good idea to become familiar
|
||||
with a text editor. FreeBSD comes with a few as part of the base
|
||||
system, and many more are available in the ports collection.</para>
|
||||
|
||||
<indexterm><primary>ee</primary></indexterm>
|
||||
<para>The easiest and simplest editor to learn is an editor called
|
||||
<application>ee</application>, which stands for easy editor. To
|
||||
start <application>ee</application>, one would type at the command
|
||||
|
@ -396,6 +414,16 @@
|
|||
editor. The editor will prompt you to save any changes if the file
|
||||
has been modified.</para>
|
||||
|
||||
<indexterm><primary>vi</primary></indexterm>
|
||||
<indexterm>
|
||||
<primary>editors</primary>
|
||||
<secondary>vi</secondary>
|
||||
</indexterm>
|
||||
<indexterm><primary>emacs</primary></indexterm>
|
||||
<indexterm>
|
||||
<primary>editors</primary>
|
||||
<secondary>emacs</secondary>
|
||||
</indexterm>
|
||||
<para>FreeBSD also comes with more powerful text editors such as
|
||||
<application>vi</application> as part of the base system, and
|
||||
<application>emacs</application> and <application>vim</application>
|
||||
|
@ -412,6 +440,7 @@
|
|||
|
||||
<sect2 id="basics-man">
|
||||
<title>Manual pages</title>
|
||||
<indexterm><primary>man pages</primary></indexterm>
|
||||
|
||||
<para>The most comprehensive documentation on FreeBSD is in the form
|
||||
of man pages. Nearly every program on the system comes with a
|
||||
|
@ -512,6 +541,7 @@
|
|||
|
||||
<sect2 id="basics-info">
|
||||
<title>GNU Info Files</title>
|
||||
<indexterm><primary>Free Software Foundation</primary></indexterm>
|
||||
|
||||
<para>FreeBSD includes many applications and utilities produced by
|
||||
the Free Software Foundation (FSF). In addition to man pages,
|
||||
|
|
Loading…
Reference in a new issue