exam questions

Exam 102-500 All Questions

View all questions & answers for the 102-500 exam

Exam 102-500 topic 1 question 73 discussion

Actual exam question from LPI's 102-500
Question #: 73
Topic #: 1
[All 102-500 Questions]

If an alias ls exists, which of the following commands updates the alias to point to the command ls -l instead of the alias's current target?

  • A. set ls='ls -l'
  • B. alias ls='ls -l'
  • C. alias --force ls='ls -l'
  • D. alias --update ls ls='ls -l'
  • E. realias ls='ls -l'
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
klever
8 months, 1 week ago
alias ls='ls -l' does the job
upvoted 3 times
...
drliu1202
1 year, 1 month ago
Selected Answer: B
"alias alias_name=command(s)" https://learning.lpi.org/en/learning-materials/102-500/105/105.1/105.1_03/#:~:text=alias%20alias_name%3Dcommand(s)
upvoted 4 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago