About 10,000,000 results
Open links in new tab
  1. Find all files containing a specific text (string) on Linux

    Jun 6, 2013 · How do I find all files containing a specific string of text within their file contents? The following doesn't work. It seems to display every single file in the system. find / -type f …

  2. PowerShell: how can I grep command output? - Stack Overflow

    The next thing that confused me was the Write at the end. alias is an alias for Get-Alias, which is a PowerShell cmdlet. and Write is actually the string being searched, NOT the alias of Write …

  3. How do I recursively grep all directories and subdirectories?

    Feb 16, 2016 · If you find yourself frequently using grep to do recursive searches (especially if you manually do a lot of file/directory exlusions), you may find ack (a very programmer-friendly …

  4. How to perform grep operation on all files in a directory?

    Nov 25, 2020 · Working with xenserver, and I want to perform a command on each file that is in a directory, grep ping some stuff out of the output of the command and appending it in a file. I'm …

  5. PowerShell equivalent to grep -f - Stack Overflow

    I'm looking for the PowerShell equivalent to grep --file=filename. If you don't know grep, filename is a text file where each line has a regular expression pattern you want to match.

  6. regex - Using the star sign in grep - Stack Overflow

    Jul 6, 2016 · The expression you tried, like those that work on the shell command line in Linux for instance, is called a "glob". Glob expressions are not full regular expressions, which is what …

  7. Is there a Pattern Matching Utility like GREP in Windows?

    Sep 13, 2009 · Is there a similar utility to grep available from the Windows Command Prompt, or is there a third party tool for it?

  8. How can I use grep to find a word inside a folder?

    Nov 8, 2010 · The output from find is sent to xargs -0 and that grabs its standard input in chunks (to avoid command line length limitations) using null characters as a record separator (rather …

  9. How do I fetch lines before/after the grep result in bash?

    Sep 16, 2012 · The command in the first pipe uses grep to print out all the text that appears a specified number of lines before the matching string, and an additional pipe operator makes …

  10. What is the difference between grep -e and grep -E option?

    3 see below /extended grep understands three different versions of regular expression syntax: “basic,” “extended” and “perl.” In GNU grep, there is no difference in available functionality …