nerdexam
CompTIA

SK0-005 · Question #411

A Linux server requires repetitive tasks for reconfiguration. Which of the following would be the best scripting language to use?

The correct answer is C. Bash. Bash is a scripting language that is commonly used in Linux systems to automate tasks and manipulate text. Bash scripts can run commands, variables, functions, loops, and conditional statements. PowerShell is a scripting language that is mainly used in Windows systems, while…

Server administration

Question

A Linux server requires repetitive tasks for reconfiguration. Which of the following would be the best scripting language to use?

Options

  • APowerShell
  • BBatch command file
  • CBash
  • DVisual Basic

How the community answered

(53 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    87% (46)
  • D
    8% (4)

Explanation

Bash is a scripting language that is commonly used in Linux systems to automate tasks and manipulate text. Bash scripts can run commands, variables, functions, loops, and conditional statements. PowerShell is a scripting language that is mainly used in Windows systems, while batch command files are simple text files that contain a series of commands to be executed by the command-line interpreter. Visual Basic is a programming language that is used to create applications, not scripts.

Topics

#Linux scripting#Bash#Server automation#Operating system tools

Community Discussion

No community discussion yet for this question.

Full SK0-005 Practice