linux command to add new user code example Example 1: add user linux sudo useradd username Example 2: create user in linux useradd [OPTIONS] USERNAME