Date: Fri, 3 Apr 2015 15:12:07 +0000 (UTC) From: Eitan Adler <eadler@FreeBSD.org> To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46447 - head/en_US.ISO8859-1/articles/new-users Message-ID: <201504031512.t33FC7gR013587@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: eadler Date: Fri Apr 3 15:12:06 2015 New Revision: 46447 URL: https://svnweb.freebsd.org/changeset/doc/46447 Log: new users: Remove steps which are no longer required. - rehash is taken care of by autorehash - shells is modified when the package is installed Modified: head/en_US.ISO8859-1/articles/new-users/article.xml Modified: head/en_US.ISO8859-1/articles/new-users/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/new-users/article.xml Fri Apr 3 15:02:31 2015 (r46446) +++ head/en_US.ISO8859-1/articles/new-users/article.xml Fri Apr 3 15:12:06 2015 (r46447) @@ -764,34 +764,17 @@ Then go back to <filename>/usr/local/kermit</filename>, find the directory with <filename>Makefile</filename>, and type <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 xml:id="your-working-environment"> <title>Your Working Environment</title> <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, and thus communicates with the rest of the operating system. - You can also write shell scripts, which are like DOS batch - files: a series of commands to be run without your - intervention.</para> + You can also write shell scripts a series of commands to be run + without intervention.</para> <para>Two shells come installed with FreeBSD: <command>csh</command> and <command>sh</command>. @@ -815,17 +798,7 @@ <procedure> <step> <para>Install the shell as a port or a package, just as you - would any other port or package. Use - <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> + would any other port or package.</para> </step> <step>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504031512.t33FC7gR013587>