Linux Command Line Tutorial For Beginners 37 - grep command

preview_player
Показать описание
grep, egrep, fgrep - print lines matching a pattern

use:
grep [OPTIONS] PATTERN [FILE...]
grep [OPTIONS] [-e PATTERN | -f FILE] [FILE...]

Description:
grep searches the named input FILEs (or standard input if no files are named, or if a single hyphen-minus (-) is given as file name) for lines containing a match to the given PATTERN. By default, grep prints the matching lines.

In addition, two variant programs egrep and fgrep are available. egrep is the same as grep -E. fgrep is the same as grep -F. Direct invocation as either egrep or fgrep is deprecated, but is provided to allow historical applications that rely on them to run unmodified.
★★★Top Online Courses From ProgrammingKnowledge ★★★

★★★ Online Courses to learn ★★★

★★★ Follow ★★★

DISCLAIMER: This video and description contains affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. This help support the channel and allows us to continue to make videos like this. Thank you for the support!
Рекомендации по теме
Комментарии
Автор

You are the best tutor I have ever seen on Youtube. Every time, I watch your videos, I understand so easily

MissNigeriaInternationalinc
Автор

Awesome tutorial series. Thanks for taking the time to make these videos!

grevierx
Автор

I find grep really useful when searching for something with apt-get eg:

apt-cache search chess | grep -i "chess"

This filters down all the non-important results

Stevesteacher
Автор

Thanks for all the tutorial. I really appreciate your efforts.

AkshaySawant
Автор

thank you very much for the best kindly lecture. :))))

johnmun
Автор

Hi...i want to call the codeigniter controller function from command line of linux ..how ?

AgriAasan
Автор

What is the code for searching a pattern in script file ..not using grep command on terminator..

tanushakapoor
Автор

How can i show directories that do not start with a and do not have b

Rock-rkhh
Автор

Thanks nicely understood, nicely explained 👍

k.madhusmita
Автор

+ProgrammingKnowledge Where is continuos of videos about Node.js for begginers? BTW - Sorry for bad English

NechroMaster
Автор

Great tutorial as always... if you can provide tutorials on R-Programming, it will be very appreciated.

glokazaka
Автор

Hello, how to exit from the "cd Desktop/" ?

emanuelmodnicki
Автор

Not grap pronounciation yar ...it is grep....

shyam
Автор

~$ In very first line
And "tar"

aryamangangele
Автор

watch in 1.25 everyone!!! no offense friend:)

freshios
welcome to shbcf.ru