How to Change Your Default Linux Shell Using the Terminal
HardReset.InfoDecember 17, 20253 min37 views
4 connections·6 entities in this video→Accessing the Terminal and Checking Current Shell
- 💻 Open the Terminal application to begin the process of changing your default shell.
- 💡 Use the command
echo $SHELLto display your currently active shell. - 🎯 For most users, the default shell is likely Bash, but this video demonstrates how to switch to another.
Identifying Available Shells
- 📄 To see all shells installed on your system, use the command
cat /etc/shells. - 🔍 This command lists the full paths to available shells, such as
/usr/bin/shor/usr/bin/zsh.
Changing Your Default Shell
- ⚙️ The command to change your shell is
chsh -s, followed by the full path to your desired shell. - 🔑 After entering the command, you will be prompted to enter your account password for authentication.
- ⚠️ Crucially, the change will not take effect until you log out of your current session and log back in.
Verifying the New Shell
- ✅ Once logged back in, open the Terminal again.
- 🔍 Re-run the
echo $SHELLcommand to confirm that your default shell has been successfully updated to the one you selected. - 👍 If the command shows the new shell path, the process was successful.
Knowledge graph6 entities · 4 connections
How they connect
An interactive map of every person, idea, and reference from this conversation. Hover to trace connections, click to explore.
Hover · drag to explore
6 entities
Chapters2 moments
Key Moments
Transcript11 segments
Full Transcript
Topics11 themes
What’s Discussed
LinuxDefault ShellTerminalchshBashZshShell PathCommand LineUser AccountLogoutLogin
Smart Objects6 · 4 links
Concepts· 2
Products· 4