You are on page 1of 1

Write the unix command to replace the word "Unix" with "Unix OS" in a given file.

The file will be given as a command line argument when the script containing your
command will run.

Note : The search for "Unix" to replace with "Unix OS" should be case-insensitive.

For example,

If the input file contains the following lines

Unix is an multi-user,multi-tasking system.


It is a command based operating system.
We will learn unix in this module.

The output should be

Unix OS is an multi-user,multi-tasking system.


It is a command based operating system.
We will learn Unix OS in this module.

You might also like