nerdexam
CompTIA

XK0-005 · Question #381

A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a repository to share with the systems team. A junior…

The correct answer is C. clone. To retrieve the scripts from a repository and make them available on a local workstation, the junior Linux administrator can use the command git clone ©. This will create a copy of the repository on the local machine, including all the scripts and history.

Scripting, Containers, and Automation

Question

A senior Linux administrator has created several scripts that will be used to install common system applications. These scripts are published to a repository to share with the systems team. A junior Linux administrator needs to retrieve the scripts and make them available on a local workstation. Which of the following Git commands should the junior Linux administrator use to accomplish this task?

Options

  • Afetch
  • Bcheckout
  • Cclone
  • Dbranch

How the community answered

(36 responses)
  • A
    3% (1)
  • B
    3% (1)
  • C
    94% (34)

Explanation

To retrieve the scripts from a repository and make them available on a local workstation, the junior Linux administrator can use the command git clone ©. This will create a copy of the repository on the local machine, including all the scripts and history.

Topics

#Git#Version Control#Repository Cloning#Linux Administration

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice