Categories
PowerShell

Grep on Windows – Searching in all files recursively

There’s no command line tool on Windows like Grep on Linux to search for a specific text in all files recursively. But there’s a simple alternative.

Bash

grep -r "peter" *

PowerShell

ls * -r | sls "peter"

Leave a Reply

Your email address will not be published. Required fields are marked *