EX200 • Practice Exam 1 — 20 Questions
Free EX200 practice exam 1 — 20 questions with explanations. No signup required.
A system administrator needs to create a shell script that checks if the user 'jdoe' exists in the system and, if not, creates the user with a home directory. The script should also verify that the creation was successful. Which of the following script snippets correctly implements this logic?
Choose an answer to begin — your selection is scored in the full session.
20 questions · instant feedback and full explanations after every question.