Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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=*.{data,log} -rnw . -e 'Variable'
Comment

linux search for a given string in all files recursively

$ grep -r "String to be searched goes here" *
Comment

PREVIOUS NEXT
Code Example
Shell :: kubernetes delete everything 
Shell :: deploy netlify angular 
Shell :: bash user input yes no 
Shell :: run postgresql command line maccos 
Shell :: nestjs dockerfile 
Shell :: pwd in cmd 
Shell :: docker compose example 
Shell :: revert last commit 
Shell :: git commit to a new branch 
Shell :: permission exec linux 
Shell :: debian apt log 
Shell :: install adonis cli 
Shell :: gcloud switch projects 
Shell :: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? 
Shell :: my apache is not running ubuntu 
Shell :: git display current head 
Shell :: pip install package to specific directory 
Shell :: git push existing repository 
Shell :: install vscode linux 
Shell :: how to remove v4l2loopback 
Shell :: libnss3.so: cannot open shared object file: No such file or directory 
Shell :: ecto migration 
Shell :: how to delete unstaged files that were recently added locally 
Shell :: how to check laravel installer version 
Shell :: fatal error: ft2build.h: No such file or directo 
Shell :: microsoft-todo-unofficial ubuntu 
Shell :: github readme stats 
Shell :: linux bash how to clear log files debian ubuntu centos 
Shell :: docker execute command in container 
Shell :: how to use zsh on mac 
ADD CONTENT
Topic
Content
Source link
Name
2+1 =