XK0-006 • Practice Test 33
Free XK0-006 practice test — 15 questions with explanations. Set 33. No signup required.
A Bash script uses getopts to parse command-line options. The options are -a (requires an argument) and -b (flag). Which code correctly implements this and stores the argument for -a in $optarg?
Choose an answer to begin — your selection is scored in the full session.
15 questions · instant feedback and full explanations after every question.