insensitive search

I would like to search and find all files which contain a word called “main()” for all directories located in $HOME/project/school. How do I use the grep command to find text including all subdirs under Unix or Linux operating systems?

{ 5 comments }

How do I use the Grep command with regular expressions on a Linux and Unix-like operating systems?

{ 55 comments }

Q. How do I perform a case-insensitive search using sed under UNIX / Linux? I’d like to match all combination of word – foo, FOO, FoO and so on while replacing or performing other operations.

{ 3 comments }