CompTIA
XK0-004 · Question #434
XK0-004 Question #434: Real Exam Question with Answer & Explanation
Sign in or unlock XK0-004 to reveal the answer and full explanation for question #434. The question stem and answer options stay visible for context.
Question
An administrator is writing a Bash script that contains a loop that increments the value of the variable count with each loop iteration by 1. Which of the following should the administrator use?
Options
- A$count++
- BCount='expr $count+1'
- CCount = $conunt+1
- D((++count))
Unlock XK0-004 to see the answer
You've previewed enough free XK0-004 questions. Unlock XK0-004 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.