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