Gang Of Coders
Home
About Us
Contact Us
All Grep Solutions on Gang of Coders
Total of 178 Grep Solutions
How do I find all files containing specific text on Linux?
Linux
Text
Grep
Directory
Find
How can I use grep to show just filenames on Linux?
Linux
Grep
Using grep with regular expression to filter out matches
Grep
How do I return only the matching regular expression when I select-string(grep) in PowerShell?
Regex
Powershell
Grep
Tarballing without Git metadata
Find
Packaging
Tar
Xargs
Grep
Extract string from string using RegEx in the Terminal
Regex
Bash
Grep
How to grep and replace
Linux
Grep
Replace
Can not extract the capture group with either sed or grep
Regex
Linux
Sed
Grep
How to perform grep operation on all files in a directory?
Linux
Shell
Grep
grep: group capturing
Regex
Linux
Bash
Grep
Is there a grep equivalent for find's -print0 and xargs's -0 switches?
Bash
Unix
Grep
Find
Xargs
Highlight text similar to grep, but don't filter out text
Linux
Grep
Command Line-Interface
How do you exclude symlinks in a grep?
Grep
The return code from 'grep' is not as expected on Linux
Linux
Bash
Shell
Grep
Regex for 1 or 2 digits, optional non-alphanumeric, 2 known alphas
C#
Regex
Grep
How to use non-capturing groups in grep?
Grep
Pcre
How can I find all of the distinct file extensions in a folder hierarchy?
Linux
Grep
Filesystems
File Extension
How can I grep recursively, but only in files with certain extensions?
Grep
How to count occurrences of a word in all the files of a directory?
Linux
Unix
Count
Find
Grep
How to suppress binary file matching results in grep
Linux
Grep
Read expression for grep from standard input
Grep
Stdin
How to use regex OR in grep in Cygwin?
Regex
Cygwin
Grep
How to grep and execute a command (for every match)
Grep
total size of group of files selected with 'find'
Shell
Scripting
Find
Grep
Filesize
What are good grep tools for Windows?
Windows
Grep
What does '\K' mean in this regex?
Regex
Bash
Grep
How can I exclude all “permission denied” result lines from “grep”?
Linux
Unix
Permissions
Grep
How do I add a line of text to the middle of a file using bash?
Linux
Bash
Sed
Awk
Grep
Negative matching using grep (match lines that do not contain foo)
Regex
Grep
How can I pipe stderr, and not stdout?
Bash
Grep
Stdout
Pipe
Stderr
Exploitable PHP functions
Php
Security
Grep
grep without showing path/file:line
Linux
Unix
Grep
Find
What is makeinfo, and how do I get it?
Ubuntu
Gcc
Makefile
Grep
How to invert a grep expression
Regex
Linux
Grep
How to search contents of multiple pdf files?
Linux
Pdf
Full Text-Search
Grep
Debian
How can I have grep not print out 'No such file or directory' errors?
Grep
How to get the process ID to kill a nohup process?
Linux
Bash
Grep
Nohup
Regex (grep) for multi-line search needed
Regex
Linux
Cygwin
Grep
Match two strings in one line with grep
Regex
Linux
String
Grep
How to grep a string in a directory and all its subdirectories?
Linux
Unix
Grep
Centos
How to show only next line after the matched one?
Awk
Sed
Grep
How to find patterns across multiple lines using grep?
Regex
Grep
Grep regex NOT containing string
Regex
Grep
grep output to show only matching file
Grep
Using grep to search for a string that has a dot in it
Linux
Grep
Windows recursive grep command-line
Windows
Command Line
Grep
How can I get `find` to ignore .svn directories?
Linux
Find
Bash
Grep
Svn
How to concatenate multiple lines of output to one line?
Linux
Bash
Unix
Grep
Tr
Remove blank lines with grep
Text
Terminal
Grep
Newline
How can I exclude directories from grep -R?
Linux
Unix
Grep
How to do a non-greedy match in grep?
Regex
Shell
Command Line
Grep
Regex Greedy
PowerShell equivalent to grep -f
Powershell
Grep
Is there a Pattern Matching Utility like GREP in Windows?
Windows
Grep
grep a file, but show several surrounding lines?
Search
Logging
Grep
Command Line-Interface
Use grep --exclude/--include syntax to not grep through certain files
Unix
Search
Shell
Command Line
Grep
Can grep show only words that match search pattern?
Grep
Words
(grep) Regex to match non-ASCII characters?
Regex
Unicode
Grep
Ascii
Non Ascii-Characters
How to remove the lines which appear on file B from another file A?
Linux
Shell
Sed
Diff
Grep
How to get the part of a file after the first line that matches a regular expression
Bash
Shell
Scripting
Grep
Exclude .svn directories from grep
Linux
Bash
Svn
Grep
List files with certain extensions with ls and grep
Bash
Shell
Macos
Grep
Grep characters before and after match?
Bash
Grep
How to merge every two lines into one from the command line?
Bash
Awk
Sed
Grep
How to 'grep' a continuous stream?
Linux
Bash
Shell
Grep
Tail
More elegant "ps aux | grep -v grep"
Linux
Grep
How to use sed/grep to extract text between two words?
String
Bash
Sed
Grep
How to grep for case insensitive string in a file?
Bash
Shell
Awk
Sed
Grep
How to process each output line in a loop?
Bash
Shell
Grep
Checking if output of a command contains a certain string in a shell script
Bash
Shell
Grep
Preserve colouring after piping grep to grep
Linux
Bash
Colors
Grep
Pipe
How do I use grep to search the current directory for all files having the a string "hello" yet display only .h and .cc files?
Linux
Bash
Unix
Grep
How can I "grep" for a filename instead of the contents of a file?
Grep
How to exclude certain directories/files from git grep search
Git
Grep
Is it possible to perform a 'grep search' in all the branches of a Git project?
Git
Grep
How to grep Git commit diffs or contents for a certain word
Git
Search
Grep
How do you search for files containing DOS line endings (CRLF) with grep on Linux?
Linux
Bash
Grep
Newline
How can I search for a multiline pattern in a file?
Linux
Command Line
Grep
Find
Pcregrep
How to search a specific value in all tables (PostgreSQL)?
Postgresql
Grep
String Matching
How can I extract the first two characters of a string in shell scripting?
Bash
Shell
Grep
Sh
Gnu Coreutils
Validating IPv4 addresses with regexp
Regex
Validation
Ip Address
Ipv4
Grep
What are the differences among grep, awk & sed?
Linux
Bash
Sed
Awk
Grep
Can I grep only the first n lines of a file?
Bash
Search
Grep
How to grep for two words existing on the same line?
Grep
Grepping a huge file (80GB) any way to speed it up?
Bash
Grep
How can I use grep to find a word inside a folder?
String
Command Line
Grep
Keyword Search
File Search
How do I find files that do not contain a given string pattern?
File
Grep
Directory
Find
Is \d not supported by grep's basic expressions?
Linux
Bash
Grep
Using sed, how do you print the first 'N' characters of a line?
Shell
Sed
Grep
How do you grep a file and get the next 5 lines
Shell
Grep
How can I exclude one word with grep?
Regex
String
Search
Grep
Colorized grep -- viewing the entire file with highlighted matches
Bash
Shell
Colors
Grep
How does grep run so fast?
Unix
Grep
Finding a string in docker logs of container
Docker
Grep
Regex lookahead for 'not followed by' in grep
Regex
Grep
Regex Lookarounds
how do I use the grep --include option for multiple file types?
Shell
Grep
Grep for literal strings
Unix
Grep
Use grep to report back only line numbers
Grep
grep for special characters in Unix
Unix
Search
Grep
Special Characters
How to make grep only match if the entire line matches?
Shell
Unix
Grep
How to grep for contents after pattern?
Linux
Grep
git grep by file extensions
Git
Grep
File Extension
Using the star sign in grep
Regex
Bash
Grep
How to grep for the whole word
Unix
Grep
How can I grep hidden files?
Grep
Hidden Files
Dotfiles
How to give a pattern for new line in grep?
Bash
Grep
Newline
Grep not as a regular expression
Linux
Grep
Delete all local git branches
Git
Bash
Ubuntu
Version Control
Grep
Grep 'binary file matches'. How to get normal grep output?
Bash
Grep
How to truncate long matching lines returned by grep or ack
Grep
Unix
Ack
Show filename and line number in grep output
Awk
Grep
grep regex whitespace behavior
Regex
Grep
Gnu
Output grep results to text file, need cleaner output
Text
Grep
Output
How to grep, excluding some patterns?
Bash
Grep
How do I recursively grep all directories and subdirectories?
Linux
Unix
Grep
grepping using the "|" alternative operator
Regex
Linux
Grep
grep a tab in UNIX
Unix
Grep
Using sed and grep/egrep to search and replace
Regex
Sed
Grep
How to display modified date time with 'find' command?
Linux
Command Line
Grep
Find
Stat
Count number of occurrences of a pattern in a file (even on same line)
Search
Count
Grep
Match
How to grep the git diff?
Git
Grep
Diff
Capturing Groups From a Grep RegEx
Bash
Shell
Grep
Remove empty lines in a text file via grep
Linux
Grep
Text Processing
grep for multiple strings in file on different lines (ie. whole file, not line based search)?
Bash
Awk
Grep
How to grep with a list of words
Grep
Grep only the first match and stop
Grep
How can I grep for a string that begins with a dash/hyphen?
Unix
Grep
Escaping
How to use grep to get anything just after `name=`?
Regex
Bash
Grep
Grep and Python
Python
Regex
Grep
How can I make grep print the lines below and above each matching line?
Linux
Grep
Get line number while using grep
Grep
Line
grep --ignore-case --only
Regex
Bash
Unix
Grep
Gnu
Command line: search and replace in all filenames matched by grep
Linux
Perl
Awk
Sed
Grep
How to find and replace all occurrences of a string recursively in a directory tree?
Sed
Find
Grep
Replace
How to escape parenthesis in grep
Grep
Escaping
How can I format my grep output to show line numbers at the end of the line, and also the hit count?
Linux
Bash
Unix
Grep
Prevent grep returning an error when input doesn't match
Bash
Grep
How to find all file extensions recursively from a directory?
Bash
Terminal
Grep
How do I grep for all non-ASCII characters?
Regex
Unix
Unicode
Grep
Fastest possible grep
Bash
Unix
Grep
How to "grep" out specific line ranges of a file
Command Line
Grep
How to grep (search) committed code in the Git history
Git
Grep
Diff
changing chmod for files but not directories
Unix
Grep
Chmod
Linux find and grep command together
Bash
Grep
Find
Redirect stderr to /dev/null
Linux
Grep
How do I get rid of "--" line separator when using grep with context lines?
Grep
How to remove leading whitespace from each line in a file
Unix
Sed
Awk
Grep
Using grep and sed to find and replace a string
Linux
Shell
Unix
Sed
Grep
grep only text files
Bash
Grep
Pattern matching digits does not work in egrep?
Regex
Grep
Character Class
grepping binary files and UTF16
Unicode
Grep
Utf 16
Grep for beginning and end of line?
Grep
How to grep for the dollar symbol ($)?
Linux
Unix
Grep
Difference between egrep and grep
Regex
Grep
Spider a Website and Return URLs Only
Grep
Uri
Wget
Web Crawler
Recursively cat all the files into single file
Linux
Bash
Unix
Grep
Cat
How do I view all ignored patterns set with svn:ignore recursively in an SVN repository?
Svn
Awk
Grep
How to match once per file in grep?
Regex
Perl
Shell
Unix
Grep
When grep "\\" XXFile I got "Trailing Backslash"
Linux
Bash
Shell
Grep
Bash, grep between two lines with specified string
Regex
Bash
Grep
How to check if a file contains a specific string using Bash
Bash
Shell
Grep
Waiting for background processes to finish before exiting script
Bash
Shell
Unix
Tcl
Grep
Always include first line in grep
Bash
Grep
Use grep to find content in files and move them if they match
Linux
Shell
Scripting
Grep
How to remove the last character from a bash grep output
Bash
Grep
Delete a list of files with find and grep
Grep
Find
Pipe
Rm
Can you mass edit all files returned in a grep?
Search
Vim
Command Line
Sed
Grep
grep from tar.gz without extracting [faster one]
Linux
Bash
Grep
Is there an easy way to pass a "raw" string to grep?
Bash
Escaping
Grep
Command Line-Interface
Linux shell script to add leading zeros to file names
Linux
Bash
Shell
Grep
Fast way of finding lines in one file that are not in another?
Bash
Grep
Find
Diff
Is it better to use git grep than plain grep if we want to search in versioned source code?
Linux
Git
Grep
shell variable in a grep regex
Bash
Grep
Unix grep regex containing 'x' but not containing 'y'
Regex
Unix
Grep
Regex Negation
Grep output with multiple Colors?
Bash
Colors
Sed
Awk
Grep
How can I check if 'grep' doesn't have any output?
Bash
If Statement
Null
Grep
Display filename before matching line
Unix
Grep
Count all occurrences of a string in lots of files with grep
Grep
How to do whole-word search similar to "grep -w" in Vim
Vim
Grep