In this article, we will see the different ways in which we can capitalize the contents of the file and also the other way around. In other words, this will tell how to convert the lowercase characters or string into upper case and upper case into lower case.
Let us take a sample file, "file1", with the following contents:
$ cat file1 hello welcome string