Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

AWS Cloud

grep in 4 steps

This revision card explains grep in 4 steps. It starts from the need that find text in files and logs. It describes -i case, -n line no, -v invert. The how-to section notes -r whole folder, -l names only. An example on the card is find a setting in a project.

grep in 4 steps Find text in files and logs. -i case, -n line no, -v invert. -r whole folder, -l names only. Find a setting in a project.
grep in 4 steps · Download PNG
Read card text

What this card says

Why do we need it?

Find text in files and logs.

What is it?

-i case, -n line no, -v invert.

How to do it

-r whole folder, -l names only.

Example

Find a setting in a project.

grep -rn DB_HOST src/

See all AWS revision cards