linux create user with home and password code example Example 1: create user in linux useradd [OPTIONS] USERNAME Example 2: add user linux adduser [OPTIONS] USERNAME