grep Command in Linux O.S
command line utility for searching plain-text set for lines that match a regular expression its name come from the cd command
g|re|p
command line utility for searching plain-text set for lines that match a regular expression its name come from the cd command
g|re|p
- find word
grep "<word want to find>" <txt file>
- find only whole word
grep -w "<word want to find>" <txt file>
- find word in which line
grep -win "<word want to find>" <txt file>
- find what is before matches line
grep -win -B "<word want to find>" <txt file>
- see upside and lower side of the word
grep -win -c(2,3) "<word want to find>" <txt file>
- see matches folders/files
grep -win "<word want to find>" .
- Find whole words only
grep <find the word>*
- To show only the lines that exactly match search string
grep -x “number or word want to search” *
- Limit grep output to a fixed number of lines
grep -m2 "<word want to find>" <txt file>
Grep Command In Linux O.S >>>>> Download Now
ReplyDelete>>>>> Download Full
Grep Command In Linux O.S >>>>> Download LINK
>>>>> Download Now
Grep Command In Linux O.S >>>>> Download Full
>>>>> Download LINK sN