adduser
User addition utility. tldr-pages
On Linux
Linux
Create a new user with a default home directory and prompt the user to set a password
adduser usernameIdentifyCreate a new user without a home directory
adduser --no-create-home usernameIdentifyCreate a new user with a home directory at the specified path
adduser --home path/to/home usernameIdentifyCreate a new user with the specified shell set as the login shell
adduser --shell path/to/shell usernameIdentifyCreate a new user belonging to the specified group
adduser --ingroup group usernameIdentify