From owner-svn-doc-head@FreeBSD.ORG Tue Jun 16 12:36:36 2015 Return-Path: Delivered-To: svn-doc-head@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EA4A399; Tue, 16 Jun 2015 12:36:36 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CA4BAD6; Tue, 16 Jun 2015 12:36:36 +0000 (UTC) (envelope-from bcr@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5GCaab6045413; Tue, 16 Jun 2015 12:36:36 GMT (envelope-from bcr@FreeBSD.org) Received: (from bcr@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t5GCaanA045411; Tue, 16 Jun 2015 12:36:36 GMT (envelope-from bcr@FreeBSD.org) Message-Id: <201506161236.t5GCaanA045411@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: bcr set sender to bcr@FreeBSD.org using -f From: Benedict Reuschling Date: Tue, 16 Jun 2015 12:36:36 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r46833 - head/en_US.ISO8859-1/articles/linux-users X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 12:36:36 -0000 Author: bcr Date: Tue Jun 16 12:36:35 2015 New Revision: 46833 URL: https://svnweb.freebsd.org/changeset/doc/46833 Log: Clarify which is the default shell available to users and root. Also, mention the compatibility between shells with regards to scripts. Two other xml tag inconsistencies were fixed. PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193892 Differential Revision: https://reviews.freebsd.org/D2834 Submitted by: kpaasial icloud com Patch by: Anthony Perkins (plus a minor change based on the review) Reviewed by: allanjude Modified: head/en_US.ISO8859-1/articles/linux-users/article.xml Modified: head/en_US.ISO8859-1/articles/linux-users/article.xml ============================================================================== --- head/en_US.ISO8859-1/articles/linux-users/article.xml Tue Jun 16 04:42:19 2015 (r46832) +++ head/en_US.ISO8859-1/articles/linux-users/article.xml Tue Jun 16 12:36:35 2015 (r46833) @@ -54,12 +54,19 @@ &linux; users are often surprised to find that Bash is not the default shell in - &os;. In fact, Bash is not even in - the default installation. Instead, &os; uses &man.tcsh.1; as - the default shell. However, Bash and - other shells are available for installation using the &os; Packages - and Ports Collection. + &os;. In fact, Bash is not included + in the default installation. Instead, &os; uses &man.tcsh.1; + as the default root shell, and the Bourne + shell-compatible &man.sh.1; as the default user + shell. &man.sh.1; is very similar to Bash + but with a much smaller feature-set. Generally shell scripts + written for &man.sh.1; will run in Bash, + but the reverse is not always true. + + However, Bash and other shells + are available for installation using the &os; Packages + and Ports Collection. After installing another shell, use &man.chsh.1; to change a user's default shell. It is recommended that the @@ -130,7 +137,7 @@ equivalents of .deb files on Debian/Ubuntu based systems and .rpm files on Red Hat/Fedora based systems. Packages are - installed using pkg. For example, + installed using pkg. For example, the following command installs Apache 2.4: @@ -247,7 +254,7 @@ apache24_flags="-DSSL" rebooting the system: &prompt.root; service sshd start -&prompt.root; service apache24 start +&prompt.root; service apache24 start If a service has not been enabled, it can be started from the command line using :