Create a new local user account.
Section: Users Groups and Sessions
Create a user
bash
bash
sudo useradd -m -s /bin/bash deployExplanation
`-m` creates the home directory and `-s` sets the login shell.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Users Groups and Sessions