Linux zgrep Command Tutorial

Linux zgrep Command Tutorial

The grep is a popular command used to search and match specified string in the given content or files. The zgrep is very similar to the grep where the compressed files can be easily grepped without any extra command to uncompress them. In this tutorial, we examine how to use zgrep to search in compressed … Read more

Exact Match with Grep Command

Exact Match with Grep Command

The grep command is the very popular command-line tool to match or grep given pattern in the specified text or content. One of the most popular cases for the grep command is the exact match. This can be also called an exact string match with the grep command. Exact Match with -w Option The -w … Read more

Print Line Number For Grep Command

Print Line Number For Grep Command

grep is a popular tool in order to search and find a given term in files. grep can search multiple files at the same time and match using regular expressions etc. While searching files the matched lines can be printed to the screen with the grep command. In this tutorial, we will examine different ways … Read more