git: 41633dfa07 - main - doc: linux-users: Note that root shell is sh in FreeBSD and later
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Feb 2023 09:58:41 UTC
The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=41633dfa07330764912fc949e1929d857d824029 commit 41633dfa07330764912fc949e1929d857d824029 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2023-02-23 09:58:01 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2023-02-23 09:58:01 +0000 doc: linux-users: Note that root shell is sh in FreeBSD and later --- documentation/content/en/articles/linux-users/_index.adoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/documentation/content/en/articles/linux-users/_index.adoc b/documentation/content/en/articles/linux-users/_index.adoc index 9db8a0eeea..067cd8a241 100644 --- a/documentation/content/en/articles/linux-users/_index.adoc +++ b/documentation/content/en/articles/linux-users/_index.adoc @@ -61,7 +61,8 @@ Refer to the extref:{handbook}[Installing FreeBSD, bsdinstall] chapter of the Fr Linux(R) users are often surprised to find that Bash is not the default shell in FreeBSD. In fact, Bash is not included in the default installation. -Instead, FreeBSD uses man:tcsh[1] as the default root shell, and the Bourne shell-compatible man:sh[1] as the default user shell. +Instead, the Bourne shell-compatible man:sh[1] as the default user shell. +The root shell is man:tcsh[1] by default on FreeBSD 13 and earlier and man:sh[1] on FreeBSD 14 and later. 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.