EX200 • Exam Simulation
EX200 exam simulation — 20 questions, 180 minutes: the real exam format. Full explanations. Free.
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.