help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Searching inside files in a script


From: Alex fxmbsw7 Ratchev
Subject: Re: Searching inside files in a script
Date: Tue, 12 Oct 2021 17:46:59 +0200

grep -r 'pattern' dir
possibly -E or -P or -F
-r for recursive into dirs

On Tue, Oct 12, 2021, 17:38 Khan Smith <khansmith@mail.com> wrote:

>    I am getting a number of error messages related to functionality I
>    source to.  I would like to have a function I can run to search a text
>    pattern on specific directories or files.  What can I do?
>
>    If I select a directory, I want to search inside the files in that
>    directory.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]