IBM
C4040-221 · Question #88
C4040-221 Question #88: Real Exam Question with Answer & Explanation
Sign in or unlock C4040-221 to reveal the answer and full explanation for question #88. 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 C4040-221 to see the answer
You've previewed enough free C4040-221 questions. Unlock C4040-221 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.