Forrest logo
back to the chsh tool


chsh: [l]ist available shells.
$ chsh -l
try on your machine

The command "chsh -l" is used to list all the available login shells on a system.

The "chsh" stands for "change shell" and is typically used to change the default shell for a user. However, when used with the "-l" option, it displays a list of the available shells that can be used as a login shell.

By default, Linux systems have various login shells installed, such as Bash, Zsh, Fish, etc. When executing "chsh -l", it will output a list of these available shells. The list might include paths or names of the shells, depending on the system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the chsh tool