useradd -m -s /bin/bash alice

Category: Administration

useradd -m -s /bin/bash alice

Create user with home directory and bash as default shell

Creates a new user with a home directory and sets bash as their default shell (the program that interprets their commands).
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.