DEVFYI - Developer Resource - FYI

What is the use of ‘grep’ command?

Unix Interview Questions


(Continued from previous question...)

85. What is the use of ‘grep’ command?

‘grep’ is a pattern search command. It searches for the pattern, specified in the command line with appropriate option, in a file(s).
Syntax : grep
Example : grep 99mx mcafile

(Continued on next question...)

Other Interview Questions