What do you want to save?
Add Code snippet
New code examples
-
C 2022-01-29 04:41:57
search in gz file
find /path/to/dir -name '*.gz' -exec zgrep -- 'pattern' {} + Add solution -
Shell/Bash 2021-08-28 11:46:02
tail grep
tail -f file | grep --line-buffered my_pattern Add solution -
Shell/Bash 2021-08-26 21:42:01
grep tail
tail -f file | grep --line-buffered my_pattern Add solution -
Shell/Bash 2021-08-26 10:47:03
linux find text in files recursively -include
# look for airflow Variable usage recursively in it's homepath # include only python and sql files in the search grep --include=\*.{py,sql} -rnw /home/airflow -e 'Variable' # shows how to use exclude... it'll skip data or log files grep --exclude=\*.{dat... Add solution
Best helpers
Ranking is empty