I want to check a string in a file irrespective of its case.
Sting is:
env=electron
This have to show matching if file shell.txt contain the give string in any form irrespective of case
Example
shell.txt
Electron
electron
ELECTRON
ElEcTRon /* upper lower combination in any order have to chow matching */
How can I do this?
The -i is for ignore-case..