grep command to find multiple strings or keyword from file

grep command to find multiple strings or keyword from file

This post explains about grep command to find multiple strings or keyword from file. In Linux or Unix like operating system, the grep command utility is widely used. Grep is a command-line utility for searching plain-text data sets for lines matching a regular expression. Grep was originally developed for the Unix operating system, but is…

grep command to show lines after and before the keyword
|

grep command to show lines after and before the keyword

In this post,I am sharing a useful option with linux grep command.In this tutorial, we will use grep command to show lines after and before the keyword . As a Linux System Engineer, sometimes I get the requirement to print lines above and below of a particular keyword in the file. Generally if you only…

search keyword in file with line number using grep command

search keyword in file with line number using grep command

grep command which is used for searching the keyword in file and show its output as lines containing a match to the given PATTERN or Keyword. When we simply use grep command without using any switches it simply shows the output with line having the keyword.Today,in this post we will know about a small tip…

How to use grep command to get fixed pattern or exact keyword
|

How to use grep command to get fixed pattern or exact keyword

How to use grep command to get fixed pattern or exact keyword In this post this is a small trick about How to use grep command to get fixed pattern or exact keyword in files. grep command is useful in searching the keyword in files. Without using any flag the grep command will show the…