how to create a new account in linux code example Example 1: linux create user sudo useradd username Example 2: linux create user with homedir useradd -m $username