Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

command to change user default shell

#to change to zsh shell
sudo usermod -s /usr/bin/zsh username

#to change to bash
sudo usermod -s /usr/bin/bash username
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #command #change #user #default #shell
ADD COMMENT
Topic
Name
4+9 =