linux add user with home directory and shell code example
Example 1: linux create user with homedir
useradd -m $username
Example 2: how to create a username along with home directory in linux
useradd -m USERNAME
useradd -m $username
useradd -m USERNAME