You are not logged in.
Pages: 1
I've shifted from bash to zsh recently using the chsh command, once on the root user account and once on the account which I use for daily purpose. Yet $SHELL shows /bin/bash. How do I change this?
Also, how do I change the default shell of all users at once?
Offline
What command exactly did you run? Have you logged out and back in since?
https://wiki.archlinux.org/index.php/Co … ault_shell
Setting the default shell depends on what you use to create accounts. 'useradd' for instance reads /etc/default/useradd, where SHELL is defined.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
You're right. I stayed logged in for the whole day.
Also Gilgamesh, I used the same command "chsh -s /bin/zsh"
I've read that zsh resides in /usr/bin/ for Ubuntu. So why is it showing as well when you list all available shells using "chsh -l" ?
Offline
I've read that zsh resides in /usr/bin/ for Ubuntu.
Do you use ubuntu?
"chsh -l" essentially just prints /etc/shells
Offline
I've read that zsh resides in /usr/bin/ for Ubuntu. So why is it showing as well when you list all available shells using "chsh -l" ?
I guess you mean /bin being a symbolic link(symlink) to /usr/bin (see) https://wiki.archlinux.org/index.php/Fr … 8FHS.29.3F
As to why they both show up: https://git.archlinux.org/svntogit/pack … ckages/zsh
Offline
Pages: 1