0

How to embed text globally in Linux

Asked 4 years ago (Apr 05, 2021) in the field of Operating Systems by Diego

HiI had a question about how I can convert uppercase letters to lowercase letters in a file in general ??I could not do this through sed.Thank you for your help.


Answers


0
Answered 4 years ago (Apr 06, 2021) by Eldernode staff

Dear Diego, 

 

To convert uppercase letters to lowercase letters, you can use the below code.

tr A-Z a-z < file.txt  

You can also enter the embedded text in a file using the following command:

tr A-Z a-z < file.txt > file1.txt

Thank you for sending this message.

Good Luck 

We are by your side every step of the way

Think about developing your online business; We will protect it compassionately

We are by your side every step of the way

+8595670151

7 days a week, 24 hours a day