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