Shell Scripting Question:

Download Job Interview Questions and Answers PDF

How do you search for a string inside a given file?

Shell Scripting Interview Question
Shell Scripting Interview Question

Answer:

grep string filename

Download Shell Scripting Interview Questions And Answers PDF

Previous QuestionNext Question
How do you count words, lines and characters in a file?How do you search for a string inside a directory?