nerdexam
CompTIA

LX0-102 · Question #512

Which of the following benefits does an alias in bash provide?

The correct answer is D. It allows a string to be substituted for the first word of a simple command. See the full explanation below for the reasoning.

Question

Which of the following benefits does an alias in bash provide?

Options

  • AIt provides faster lookups for commands in the system directory.
  • BIt creates a local copy of a file from another directory.
  • CIt hides what command you are running from others.
  • DIt allows a string to be substituted for the first word of a simple command.

How the community answered

(28 responses)
  • A
    7% (2)
  • B
    4% (1)
  • C
    18% (5)
  • D
    71% (20)

Community Discussion

No community discussion yet for this question.

Full LX0-102 Practice