A Linux administrator needs to add a new user named 'jdoe' with a home directory and bash shell. Which command accomplishes this?
Correct: -m creates home directory, -s sets shell.
Why this answer
The useradd command creates a new user, and the -m flag creates the home directory, -s sets the shell. useradd -m -s /bin/bash jdoe is correct.