useradd is a command-line utility in Unix and Linux systems used to create a new user account. It allows administrators to specify various options for the new user, such as the username, home directory, user ID, group ID, and more. The basic syntax is:
useradd [options] username
Some common options include:
-m: Create a home directory for the user.-d: Specify the path for the user's home directory.-s: Specify the user's login shell.
For example, to create a user named joker with a home directory, you would use:
sudo useradd -m joker
