nerdexam
CompTIA

FC0-U61 · Question #488

A systems administrator wants to run a script but does not have access to the graphical user interface. Which of the following can be used to run scripts?

The correct answer is C. Command line. When a graphical user interface is unavailable, a systems administrator can use the command line to execute scripts.

Infrastructure

Question

A systems administrator wants to run a script but does not have access to the graphical user interface. Which of the following can be used to run scripts?

Options

  • AText editor
  • BWord processor
  • CCommand line
  • DSpreadsheet

How the community answered

(16 responses)
  • B
    6% (1)
  • C
    94% (15)

Why each option

When a graphical user interface is unavailable, a systems administrator can use the command line to execute scripts.

AText editor

A text editor is used to create and modify scripts, but not to execute them directly.

BWord processor

A word processor is designed for creating and editing documents, not for running scripts.

CCommand lineCorrect

The command line interface (CLI) provides a text-based method for interacting with an operating system and executing commands, including scripts written in languages like Bash, PowerShell, or Python, making it essential for server administration or situations without a GUI. Administrators frequently rely on CLI tools to automate tasks and manage systems remotely or in headless environments where a graphical interface is not installed or accessible.

DSpreadsheet

A spreadsheet application is used for organizing and analyzing data in tabular form, not for executing scripts.

Concept tested: Running scripts via command line interface

Source: https://learn.microsoft.com/en-us/powershell/scripting/resources/powershell-scripting-with-the-command-line

Topics

#command line interface#script execution#system administration

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice