TASIOMIND.DEV — OPERATIONAL▸▸▸FULL STACK DEVELOPER @ GWQ SERVICEPLUS AG▸▸▸FOUNDER — K8SGPT.AI▸▸▸OPEN SOURCE: ACTIVE▸▸▸DISTRIBUTED SYSTEMS / KUBERNETES / AI▸▸▸RUST + GO + PYTHON▸▸▸FIELD TESTED / STATUS — NOMINAL▸▸▸LOCATION: EUROPE/BERLIN▸▸▸TASIOMIND.DEV — OPERATIONAL▸▸▸FULL STACK DEVELOPER @ GWQ SERVICEPLUS AG▸▸▸FOUNDER — K8SGPT.AI▸▸▸OPEN SOURCE: ACTIVE▸▸▸DISTRIBUTED SYSTEMS / KUBERNETES / AI▸▸▸RUST + GO + PYTHON▸▸▸FIELD TESTED / STATUS — NOMINAL▸▸▸LOCATION: EUROPE/BERLIN▸▸▸

Change login shell

August 8, 2020

See all the shells installed on the system

code
# check all shells installed
# List of valid login shells
cat /etc/shells
code
# /etc/shells: valid login shells
/bin/sh
/bin/bash
/bin/rbash
/bin/dash
/usr/bin/tmux
/bin/zsh
/usr/bin/zsh

check which shell you're using at the moment

code
echo $SHELL
code
/bin/bash

change login shell

You can directly provide name with the -s or --shell flag

code
#chsh -s /bin/zsh
chsh -s $(which zsh)

or you can change login shell interactively (skip the -s)

code
chsh
code
Password:
Changing the login shell for tasiomind
Enter the new value, or press ENTER for the default
	Login Shell [/bin/bash]:

RE-LOGIN afterwards for the change to take effect