Difference between revisions of "Shell"
(→Shells on GhostBSD) |
(→Shells on GhostBSD) |
||
Line 39: | Line 39: | ||
* /usr/local/bin/[https://www.commandlinux.com/man-page/man1/rzsh.1.html rzsh] | * /usr/local/bin/[https://www.commandlinux.com/man-page/man1/rzsh.1.html rzsh] | ||
* /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=ksh93&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ksh93] | * /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=ksh93&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html ksh93] | ||
− | * /usr/local/libexec/git-core/git-shell | + | * /usr/local/libexec/git-core/[https://git-scm.com/docs/git-shell git-shell] |
* /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=fish&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html fish] | * /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=fish&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html fish] | ||
* /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=bash&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html bash] | * /usr/local/bin/[https://www.freebsd.org/cgi/man.cgi?query=bash&apropos=0&sektion=0&manpath=FreeBSD+12.1-RELEASE+and+Ports&arch=default&format=html bash] | ||
* /usr/local/bin/[https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html rbash] | * /usr/local/bin/[https://www.gnu.org/software/bash/manual/html_node/The-Restricted-Shell.html rbash] | ||
− | |||
==Changing the Shell== | ==Changing the Shell== |
Revision as of 07:18, 23 May 2020
Welcome to the Shell |
App/Package | Abstract | Addition or Link |
---|---|---|
If you don't find a package you are looking for, we recommend to search the Ports: Shells. There are more than 64 ports available. | ||
Back to the Applications |
Introduction
The shell is a program, that provides users with a command prompt. Different shells behave differently. The standard shell on GhostBSD is fish. When you install a shell from a port or a package, it adds an appropriate entry in /etc/shells
.
Shells on GhostBSD
GhostBSD comes with different shells. The file /etc/shells
contains the following list:
- /bin/sh
- /bin/csh
- /bin/tcsh
- /usr/local/bin/zsh
- /usr/local/bin/rzsh
- /usr/local/bin/ksh93
- /usr/local/libexec/git-core/git-shell
- /usr/local/bin/fish
- /usr/local/bin/bash
- /usr/local/bin/rbash
Changing the Shell
The easiest way to permanently change the default shell is to use chsh
. Running this command will open the editor that is configured in the EDITOR environment variable, which by default is set to vi(1). Change the Shell: line to the full path of the new shell.
Alternately, use chsh -s
which will set the specified shell without opening an editor. For example, to change the shell to bash:
% chsh -s /usr/local/bin/bash
More Information
See: Shells