nerdexam
CompTIACompTIA

XK0-005 · Question #874

XK0-005 Question #874: Real Exam Question with Answer & Explanation

Sign in or unlock XK0-005 to reveal the answer and full explanation for question #874. The question stem and answer options stay visible for context.

System Management

Question

A Linux administrator needs to replace all lowercase words with uppercase words and save the changes in a text file. Which of the following commands will help the administrator accomplish this task?

Options

  • Acat lowercase.txt | tr [:lower:] [:UPPER:] >> uppercase.txt
  • Bcat lowercase.txt | tr {:lower:} {:upper:} >> uppercase.txt
  • Ccat lowercase.txt | tr [a-z] : [A-Z] >> uppercase.txt
  • Dcat lowercase.txt | tr a-z A-Z >> uppercase.txt

Unlock XK0-005 to see the answer

You've previewed enough free XK0-005 questions. Unlock XK0-005 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Linux Commands#Text Processing#tr command#Shell Redirection
Full XK0-005 PracticeBrowse All XK0-005 Questions