new users:
Remove steps which are no longer required. - rehash is taken care of by autorehash - shells is modified when the package is installed
This commit is contained in:
parent
d525a81dc3
commit
b60839cd34
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=46447
1 changed files with 4 additions and 31 deletions
|
@ -764,34 +764,17 @@
|
||||||
Then go back to <filename>/usr/local/kermit</filename>, find the
|
Then go back to <filename>/usr/local/kermit</filename>, find the
|
||||||
directory with <filename>Makefile</filename>, and type
|
directory with <filename>Makefile</filename>, and type
|
||||||
<command>make all install</command>.</para>
|
<command>make all install</command>.</para>
|
||||||
|
|
||||||
<para>The other thing that happens when installing ports or
|
|
||||||
packages is that some other program is needed.</para>
|
|
||||||
|
|
||||||
<para>Once it is installed type <command>rehash</command> to make
|
|
||||||
FreeBSD reread the files in the path so it knows what is there.
|
|
||||||
(If you get a lot of <errorname>path not found</errorname>
|
|
||||||
messages when you use <command>whereis</command> or <command>which</command>, you
|
|
||||||
might want to make additions to the list of directories in the
|
|
||||||
path statement in <filename>.cshrc</filename> in your home
|
|
||||||
directory. The path statement in &unix; does the same kind of
|
|
||||||
work it does in DOS, except the current directory is not (by
|
|
||||||
default) in the path for security reasons; if the command you
|
|
||||||
want is in the directory you are in, you need to type
|
|
||||||
<filename>./</filename> before the command to make it work; no
|
|
||||||
space after the slash.)</para>
|
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
<sect1 xml:id="your-working-environment">
|
<sect1 xml:id="your-working-environment">
|
||||||
<title>Your Working Environment</title>
|
<title>Your Working Environment</title>
|
||||||
|
|
||||||
<para>Your shell is the most important part of your working
|
<para>Your shell is the most important part of your working
|
||||||
environment. In DOS, the usual shell is command.com. The shell
|
environment. The shell
|
||||||
is what interprets the commands you type on the command line,
|
is what interprets the commands you type on the command line,
|
||||||
and thus communicates with the rest of the operating system.
|
and thus communicates with the rest of the operating system.
|
||||||
You can also write shell scripts, which are like DOS batch
|
You can also write shell scripts a series of commands to be run
|
||||||
files: a series of commands to be run without your
|
without intervention.</para>
|
||||||
intervention.</para>
|
|
||||||
|
|
||||||
<para>Two shells come installed with FreeBSD:
|
<para>Two shells come installed with FreeBSD:
|
||||||
<command>csh</command> and <command>sh</command>.
|
<command>csh</command> and <command>sh</command>.
|
||||||
|
@ -815,17 +798,7 @@
|
||||||
<procedure>
|
<procedure>
|
||||||
<step>
|
<step>
|
||||||
<para>Install the shell as a port or a package, just as you
|
<para>Install the shell as a port or a package, just as you
|
||||||
would any other port or package. Use
|
would any other port or package.</para>
|
||||||
<command>rehash</command> and <command>which tcsh</command>
|
|
||||||
(assuming you are installing <command>tcsh</command>) to make
|
|
||||||
sure it got installed.</para>
|
|
||||||
</step>
|
|
||||||
|
|
||||||
<step>
|
|
||||||
<para>As <systemitem class="username">root</systemitem>, edit <filename>/etc/shells</filename>, adding a
|
|
||||||
line in the file for the new shell, in this case
|
|
||||||
<filename>/usr/local/bin/tcsh</filename>, and save the file.
|
|
||||||
(Some ports may do this for you.)</para>
|
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
<step>
|
<step>
|
||||||
|
|
Loading…
Reference in a new issue