Tag Archives: grep include

linux grep exclude and include

In Linux, you can use grep to both include and exclude patterns in the same search by combining the use of the -e option for including patterns and the -v option for excluding patterns. However, you need to group the … Continue reading

Posted in File & Directory, Grep Command | Tagged , , , , | Comments Off on linux grep exclude and include