Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep search in all files except one

grep --exclude={Filename to exclude} "{searchterm}" *
Comment

grep search match in all files in folder

grep -rn regex_search folder_where_to_search
#Ex: search pattern in "." current folder (r) recursively
grep -rn pattern .
Comment

PREVIOUS NEXT
Code Example
Shell :: github pull request template 
Shell :: linux "echo -e" 
Shell :: bash $! command 
Shell :: fedora docker 
Shell :: curl powershell post example 
Shell :: github actions run shell script 
Shell :: unstage particular file git 
Shell :: docker-compose prevent exit 
Shell :: github create directory 
Shell :: bash change and make directory 
Shell :: create powershell profile 
Shell :: Switching the namespaces using kubectl commands 
Shell :: write command in linux 
Shell :: how to download gnome screensaver on linux 
Shell :: To set up the apt repository for stable nginx packages, run the following command: 
Shell :: trickle usage 
Shell :: awk select second field stored in a variable 
Shell :: bash cat file and rewrite it same line 
Shell :: rolyn is missing after retrieve from source control 
Php :: uninstall php ubuntu 18.04 
Php :: install php8 on linux 
Php :: curl php show error 
Php :: phpinfo file 
Php :: auto generate password in php 
Php :: update php version using htaccess 
Php :: numbric validate laravel 
Php :: How to check even or odd number in php 
Php :: zsh: command not found: laravel 
Php :: php header redirect 
Php :: php loop through json 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =