≡ Menu

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?
[click to continue…]

Regular Expressions In grep

How do I use the Grep command with regular expressions on a Linux and Unix-like operating systems?
[click to continue…]

sed Case Insensitive Search Matching

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.
[click to continue…]