CompTIA
220-1202 · Question #190
Which of the following would an administrator most likely use to automate a repetitive task via a Linux command line?
The correct answer is B. Shell script. A shell script is commonly used in Linux to automate repetitive tasks by executing a sequence of commands directly from the command line.
Submitted by weili_xi· Mar 30, 2026
Question
Which of the following would an administrator most likely use to automate a repetitive task via a Linux command line?
Options
- AJavaScript file
- BShell script
- CVisual Basic utilities
- DBatch file
How the community answered
(17 responses)- A18% (3)
- B71% (12)
- C6% (1)
- D6% (1)
Explanation
A shell script is commonly used in Linux to automate repetitive tasks by executing a sequence of commands directly from the command line.
Topics
#Shell scripting#Linux command line#Task automation
Community Discussion
No community discussion yet for this question.