chsh
The chsh
command can be used to change a user's login shell.
On Kali Linux version 2024.4, as shown from the lsb_release -a
command, the default login shell is /usr/bin/zsh
. This can be verified as follows:
Example
To use the chsh
command to change the login shell to bash (/usr/bin/bash
).
Restart the system, or simply close and reopen the terminal for the changes to be applied.
Last updated