Shell/Bash: grep insensitive Example

By

Shell/Bash Example: This is the "grep insensitive" Example. compiled from many sources on the internet by SimpleTutorials.org

grep insensitive

With -i flag you can grep a substring with insensitive-case:
grep -i "substring_with_lower_or_upper_case"

case insensitive grep windows

Find strings with case-insensitive search using -i flag with findstr as follows:
findstr -i "Case_insensitive_substring"
For example:
dir | findstr -i "Case_insensitive_file_name"


* Summary: This "grep insensitive" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others