Run the following command: chsh -s /bin/zsh Enter your password and your default shell will be changed to zsh. Now start using zsh by modifying the configuration file located at ~/.zshrc. How to Use Zsh Let us check how fully make use zsh on your system. 1. Configuration files Let's take a look at zsh configuration files. .zshrc OR ~/.config ...
kill command in Linux Most shells, including Bash and zsh, come with built-in kill commands. The /bin/kill or /usr/bin/kill executable and the shells built-in kill have slightly different behavior. To see all the locations on your system that contain kill, use the type command and the -a option: type -a kill
It's a command-line tool for transferring data using various network protocols. zsh + oh-my-zsh: zsh is a powerful alternative to the default Bash shell, and oh-my-zsh is a framework that makes it even better. With themes, plugins, and helpful functions, it can transform your terminal into a productivity powerhouse.
Sometime when running useradd command it throws "cannot lock /etc/passwd; try again later" error and solution to remove lock files.
sudo usermod -U bob This unlocks the user account named bob. Changing a user’s shell The user's shell is the command line interface a user interacts with when logging in. There are many shells available such as bash, sh, csh, zsh, etc. You can use -s option with usermod command to modify a user's login shell. Example: sudo usermod -s /bin ...