You are on page 1of 1

15m left

ALL
1
1. Unix : Count occurrence of word
Write the unix command to count the occurrence of the word "Unix" in a given file.

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

Note : The search for "Unix" 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 architecture and the unix commands in this module.

Then the output will be,

BASH
Autocomplete Ready

1
Line: 1 Col: 1
Test Results
Custom Input

Run

Submit Code

You might also like