nerdexam
CompTIA

220-1202 · Question #248

A user must perform a series of commands each day on a Linux server. The user wants to use a script to automate the process. Which of the following is the most likely file type for the script?

The correct answer is D. .sh. Linux shell scripts use the .sh extension, making it the appropriate choice for automating commands on a Linux server.

Submitted by tarun92· Mar 30, 2026Operating Systems

Question

A user must perform a series of commands each day on a Linux server. The user wants to use a script to automate the process. Which of the following is the most likely file type for the script?

Options

  • A.js
  • B.vbs
  • C.bat
  • D.sh

How the community answered

(37 responses)
  • B
    3% (1)
  • C
    5% (2)
  • D
    92% (34)

Explanation

Linux shell scripts use the .sh extension, making it the appropriate choice for automating commands on a Linux server.

Topics

#Linux scripting#shell scripts#file extensions

Community Discussion

No community discussion yet for this question.

Full 220-1202 Practice