Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question Search for text file(s)

    Hi all,

    how can I find text files, where a sertain sentence occurs?

    Thanks beforehand,
    regards, sipungora

  2. #2
    Linux Newbie danielsmw's Avatar
    Join Date
    Nov 2006
    Clemson, SC / Charleston, SC
    You can use the grep command as follows:
    grep -r "string to find" /directory/to/look/in
    Registered Linux User: #479567
    Asking a question? Read this page first.
    Now... sudo make me a sandwich.

  3. #3
    Thank you, danielsmw, very much.

    Would you like to say me how can I search in hide files?

    Thanks beforehand,
    Regards, buters

  4. $spacer_open

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts