create a user directory in home linux 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