IBM
C9010-022 · Question #95
C9010-022 Question #95: Real Exam Question with Answer & Explanation
Sign in or unlock C9010-022 to reveal the answer and full explanation for question #95. The question stem and answer options stay visible for context.
Question
Which Korn shell syntax is used to assign the directory of the called script to a variable called mydir?
Options
- Amydir=$(dirname $0)
- B$mydir=$(dirname $0)
- Cmydir=$(dirname $@)
- Dmydir=$(dirname $?)
Unlock C9010-022 to see the answer
You've previewed enough free C9010-022 questions. Unlock C9010-022 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.