How to Change Your Default shell W/ The

Опубликовано: 26 Июнь 2026
на канале: MonLabo Linux
60
1

The chsh command, short for "change shell", is a command-line utility in Unix-like operating systems that allows users to change their default login shell. The login shell is the interactive program that runs after a user logs in to the system.:
Type of Linux shells:

Bourne Shell (sh):
This is one of the earliest and most fundamental Unix shells. It provides basic scripting capabilities and is often used as the base for other shells due to its simplicity and wide compatibility.

C Shell (csh) and TENEX C Shell (tcsh):
These shells are known for their C-like syntax, making them popular among programmers. Tcsh is an enhanced version of csh, offering features like command-line editing and history.

Korn Shell (ksh):
This shell combines features from both the Bourne shell and the C shell. It offers advanced scripting capabilities, command-line editing, and job control, making it a powerful choice for system administrators and developers.

Bourne Again Shell (bash):
Bash is the most widely used and often the default shell in many Linux distributions. It is an extension of the Bourne shell, incorporating features from ksh and csh, such as command-line editing, history, and advanced scripting.

Z Shell (zsh):
Zsh is a highly customizable and powerful shell that builds upon bash, ksh, and tcsh. It offers advanced features like enhanced tab completion, theme support, and a rich plugin ecosystem.

Friendly Interactive Shell (fish):
Fish is designed for user-friendliness, offering features like autosuggestions, syntax highlighting, and a web-based configuration interface, making it particularly appealing for beginners.

Debian Almquist Shell (dash):
Dash is a lightweight and fast shell primarily used in Debian-based systems for system startup scripts and other low-resource environments. It prioritizes speed and efficiency over extensive features.