grep Command Tutorial In Linux with Examples

grep Command Tutorial In Linux with Examples

The grep command is the very popular command used to filter string, text, and data in files and command outputs. From an academic point of view, the grep command searches for PATTERNS in each FILE. PATTERNS can be simple text, number, string, or regex (regular expressions). grep Command Syntax The grep command has the following … 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

Find Files In Linux From Command Line

Find Files In Linux From Command Line

Linux is a very flexible operating system where provides different commands and ways to find files. As a command-line based operating system, Linux provides a very powerful command named find in order to find files according to the different aspects. In this tutorial, we will examine how to find files according to their names, sizes, … Read more