Users and groups · Question 7 of 12

Which command changes anna's login shell to /bin/zsh?

1 answer is correct. Easy Created with AI

Show answer

Answer

  • A usermod -s /bin/zsh anna

Explanation

usermod changes existing accounts, -s sets the login shell. useradd would try to create a new account and abort because anna already exists.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications