Add new user in linux with home directory and /bin/bash

sudo useradd -s /bin/bash -m -c "Full Name" user
The command is composed of:
sudo: We need administrator privileges to allow a new user to access the computer.
useradd: The
useraddcommand.-s /bin/bash: The shell option. This sets the default shell for this new user.
-m: The make home directory option. This creates a directory in the “/home/” directory, with the same name as the new user account name.
-c “Full Name”: The full name of the new user. This is optional.
user: The name of the new user account. This must be unique. It cannot already be in use for another user.

![Troubleshooting [zsh: Corrupt History File]: A Simple Guide for Windows, Linux, macOS](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fstock%2Funsplash%2FxbEVM6oJ1Fs%2Fupload%2F160b183e50d491e945ca5ecb02f01896.jpeg&w=3840&q=75)


