Cleanup overlong lines in this file.
This commit is contained in:
parent
3505c4e860
commit
815840b242
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=52142
1 changed files with 31 additions and 24 deletions
|
@ -1,8 +1,9 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!DOCTYPE article PUBLIC "-//FreeBSD//DTD DocBook XML V5.0-Based Extension//EN"
|
||||
"http://www.FreeBSD.org/XML/share/xml/freebsd50.dtd">
|
||||
<article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0" xml:lang="en">
|
||||
<info>
|
||||
<article xmlns="http://docbook.org/ns/docbook"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"
|
||||
xml:lang="en"> <info>
|
||||
<title>FreeBSD Quickstart Guide for &linux; Users</title>
|
||||
|
||||
<authorgroup>
|
||||
|
@ -55,24 +56,25 @@
|
|||
<para>&linux; users are often surprised to find that
|
||||
<application>Bash</application> is not the default shell in
|
||||
&os;. In fact, <application>Bash</application> is not included
|
||||
in the default installation. Instead, &os; uses &man.tcsh.1;
|
||||
as the default root shell, and the <application>Bourne
|
||||
shell</application>-compatible &man.sh.1; as the default user
|
||||
shell. &man.sh.1; is very similar to <application>Bash</application>
|
||||
but with a much smaller feature-set. Generally shell scripts
|
||||
written for &man.sh.1; will run in <application>Bash</application>,
|
||||
but the reverse is not always true.</para>
|
||||
in the default installation. Instead, &os; uses &man.tcsh.1; as
|
||||
the default root shell, and the <application>Bourne
|
||||
shell</application>-compatible &man.sh.1; as the default user
|
||||
shell. &man.sh.1; is very similar to
|
||||
<application>Bash</application> but with a much smaller
|
||||
feature-set. Generally shell scripts written for &man.sh.1;
|
||||
will run in <application>Bash</application>, but the reverse is
|
||||
not always true.</para>
|
||||
|
||||
<para>However, <application>Bash</application> and other shells
|
||||
are available for installation using the &os; <link
|
||||
xlink:href="&url.base;/doc/en_US.ISO8859-1/books/handbook/ports.html">Packages
|
||||
and Ports Collection</link>.</para>
|
||||
xlink:href="&url.base;/doc/en_US.ISO8859-1/books/handbook/ports.html">Packages
|
||||
and Ports Collection</link>.</para>
|
||||
|
||||
<para>After installing another shell, use &man.chsh.1; to change
|
||||
a user's default shell. It is recommended that the
|
||||
<systemitem class="username">root</systemitem> user's default
|
||||
shell remain unchanged since shells which are not included in
|
||||
the base distribution are installed to
|
||||
<para>After installing another shell, use &man.chsh.1; to change a
|
||||
user's default shell. It is recommended that the <systemitem
|
||||
class="username">root</systemitem> user's default shell remain
|
||||
unchanged since shells which are not included in the base
|
||||
distribution are installed to
|
||||
<filename>/usr/local/bin</filename>. In the event of a problem,
|
||||
the file system where <filename>/usr/local/bin</filename> is
|
||||
located may not be mounted. In this case, <systemitem
|
||||
|
@ -434,8 +436,7 @@ net.inet.ip.forwarding: 0</screen>
|
|||
|
||||
<para>Some common command equivalents are as follows:</para>
|
||||
|
||||
<para>
|
||||
<informaltable frame="none" pgwide="1">
|
||||
<para><informaltable frame="none" pgwide="1">
|
||||
<tgroup cols="3">
|
||||
<thead>
|
||||
<row>
|
||||
|
@ -447,16 +448,22 @@ net.inet.ip.forwarding: 0</screen>
|
|||
|
||||
<tbody>
|
||||
<row>
|
||||
<entry><command>yum install <replaceable>package</replaceable></command> /
|
||||
<command>apt-get install <replaceable>package</replaceable></command></entry>
|
||||
<entry><command>pkg install <replaceable>package</replaceable></command></entry>
|
||||
<entry><command>yum install
|
||||
<replaceable>package</replaceable></command> /
|
||||
<command>apt-get install
|
||||
<replaceable>package</replaceable></command></entry>
|
||||
<entry><command>pkg install
|
||||
<replaceable>package</replaceable></command></entry>
|
||||
<entry>Install package from remote repository</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><command>rpm -ivh <replaceable>package</replaceable></command>
|
||||
/ <command>dpkg -i <replaceable>package</replaceable></command></entry>
|
||||
<entry><command>pkg add <replaceable>package</replaceable></command></entry>
|
||||
<entry><command>rpm -ivh
|
||||
<replaceable>package</replaceable></command> /
|
||||
<command>dpkg -i
|
||||
<replaceable>package</replaceable></command></entry>
|
||||
<entry><command>pkg add
|
||||
<replaceable>package</replaceable></command></entry>
|
||||
<entry>Install local package</entry>
|
||||
</row>
|
||||
|
||||
|
|
Loading…
Reference in a new issue