N
N
nedorn2017-01-22 00:23:58
linux
nedorn, 2017-01-22 00:23:58

How to do text search in files (Linux)?

Hello! Can you please tell me how to search through files via SSH? For example, I need to find such a variable gg_bb "1" in all files in the /home folder and show me in which directory there is a file with such content)
Please give a specific command)

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey Sergey, 2017-01-22
@dev_random

as an option, you can do this:
man grepto help

K
ky0, 2017-01-22
@ky0

grep -R 'интересующее вас выражение' /home

K
K-700A, 2017-01-22
@K-700A

Finding text in Linux files - in detail.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question