15 lines
358 B
Markdown
15 lines
358 B
Markdown
|
---
|
||
|
title: Linux Search text in this and all sub directories
|
||
|
author: Max Gialanella
|
||
|
tags:
|
||
|
- linux
|
||
|
- bash
|
||
|
categories: []
|
||
|
date: 2023-01-11 21:43:00
|
||
|
---
|
||
|
|
||
|
Search text files in current directory and all sub directories. Its super fast so don't worry if you have a node_modules directory or something.
|
||
|
|
||
|
Use this command:
|
||
|
`grep -rnw '.' -e 'search text'`
|