FreeBSD Bugzilla – Attachment 147979 Details for
Bug 193892
https://www.freebsd.org/doc/en/articles/linux-users/shells.html errorneusly claims that tcsh(1) is the default shell on FreeBSD.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Default shell for users is sh(1), not tcsh(1).
linux-users-shell.patch (text/plain), 2.49 KB, created by
Anthony Perkins
on 2014-10-04 19:06:34 UTC
(
hide
)
Description:
Default shell for users is sh(1), not tcsh(1).
Filename:
MIME Type:
Creator:
Anthony Perkins
Created:
2014-10-04 19:06:34 UTC
Size:
2.49 KB
patch
obsolete
>Index: article.xml >=================================================================== >--- article.xml (revision 45714) >+++ article.xml (working copy) >@@ -54,13 +54,20 @@ > > <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 even in >- the default installation. Instead, &os; uses &man.tcsh.1; as >- the default shell. 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> >+ &os;. In fact, <application>Bash</application> is not even >+ 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> >+ > <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 >@@ -130,7 +137,7 @@ > equivalents of <filename>.deb</filename> files on > Debian/Ubuntu based systems and <filename>.rpm</filename> > files on Red Hat/Fedora based systems. Packages are >- installed using <application>pkg</application>. For example, >+ installed using <command>pkg</command>. For example, > the following command installs > <application>Apache 2.4</application>:</para> > >@@ -247,7 +254,7 @@ > rebooting the system:</para> > > <screen>&prompt.root; <userinput>service <replaceable>sshd</replaceable> start</userinput> >-&prompt.root; <userinput>service apache24 start</userinput></screen> >+&prompt.root; <userinput>service <replaceable>apache24</replaceable> start</userinput></screen> > > <para>If a service has not been enabled, it can be started from > the command line using <option>onestart</option>:</para>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193892
: 147979