GSNA · Question #210
Which of the following commands can be used to convert all lowercase letters of a text file to uppercase?
The correct answer is B. tr. You can use the tr command to convert all lowercase letters of a text file to uppercase. The tr command is used to translate, squeeze, and/or delete characters from standard input, writing to standard output. If you want to change all lowercase letters to uppercase, you will…
Question
Which of the following commands can be used to convert all lowercase letters of a text file to uppercase?
Options
- Atac
- Btr
- Ccat
- Dless
How the community answered
(18 responses)- A6% (1)
- B72% (13)
- C6% (1)
- D17% (3)
Explanation
You can use the tr command to convert all lowercase letters of a text file to uppercase. The tr command is used to translate, squeeze, and/or delete characters from standard input, writing to standard output. If you want to change all lowercase letters to uppercase, you will use the tr [a-z] [A-Z] command. commands cannot translate the text from one form to another.
Topics
Community Discussion
No community discussion yet for this question.