CompTIA PT0-003 Question Answer
A penetration tester writes a Bash script to automate the execution of a ping command on a Class C network:
bash
for var in —MISSING TEXT—
do
ping -c 1 192.168.10.$var
done
Which of the following pieces of code should the penetration tester use in place of the —MISSING TEXT— placeholder?
CompTIA PT0-003 Summary
- Vendor: CompTIA
- Product: PT0-003
- Update on: Apr 29, 2026
- Questions: 330

