HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   grep command (http://www.howtoforge.com/forums/showthread.php?t=57975)

praveenvikram24r 18th July 2012 04:27

grep command
 
hi,

how to check with grep command with multiple options any link or any videos is there to check with examples excluding man pages

Thanks&Regards,

R.PRAVEEN

Mark_NL 2nd August 2012 12:20

Code:

egrep '(string1|string2)' <somefile>
This will search for lines with "string1" and "string2" in a file.


All times are GMT +2. The time now is 08:26.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.