How to create new user in linux from command line
Command:
sudo useradd -m -s /usr/bin/fish -G Docker jhonthe -m parameter creates the user's home directory
the -s /usr/bin/fish parameter sets the login shell of the new account to fish shell, by default to bash.
the -G Docker parameter add the user to the Docker group, (useful to run docker commands without sudo)
and the last parameter jhon is the name of the user to create.