Skip to content

Glossary: Command Line for IT: Bash and PowerShell

Select-String

Also written: -NotMatch, -Context, -CaseSensitive

PowerShell's grep: it finds matching lines in files, and each match has properties such as LineNumber and Line. -NotMatch works like grep -v, and -Context 2,0 like grep -B 2.

Where the book teaches it

Related terms

grep-split