About 9,340,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  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. linux - More elegant "ps aux | grep -v grep" - Stack Overflow

    Feb 21, 2012 · When I check list of processes and 'grep' out those that are interesting for me, the grep itself is also included in the results. For example, to list terminals: $ ps aux | grep terminal …

  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. 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 …

  7. UNIX grep command (grep -v grep) - Stack Overflow

    Apr 5, 2015 · 11 grep when used with ps -ef also outputs the grep used for filtering the output of ps -ef. grep -v grep means that do not include the grep used for filtering in the command …

  8. 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 …

  9. Output grep results to text file, need cleaner output

    When using the Grep command to find a search string in a set of files, how do I dump the results to a text file? Also is there a switch for the Grep command that provides cleaner results for better

  10. How can I exclude all "permission denied" messages from "find"?

    grep -v 'Permission denied$' filters out (-v) all lines (from the find command's stderr stream) that end with the phrase Permission denied and outputs the remaining lines to stderr (>&2).