create home directory linux user code example Example: linux create user with homedir useradd -m $username