Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep exclude directory

grep -rli --exclude-dir={dir1,dir2,dir3} keyword /path/to/search
Comment

grep but exclude directory

grep -rli --exclude-dir=/path/to/exclude "keyword"
Comment

PREVIOUS NEXT
Code Example
Shell :: jupyter sagemath kernel 
Shell :: ufw allow port range 
Shell :: activate conda environment in bash script 
Shell :: Build-tool 32.0.0 rc1 is missing DX at dx.bat 
Shell :: pygtk install ubuntu 
Shell :: pip version ubuntu 
Shell :: change master to main git 
Shell :: remove unused images docker manually 
Shell :: bash get time milliseconds 
Shell :: windows docker update clock 
Shell :: git push pull asks for login everytime 
Shell :: catkin_make single package 
Shell :: docker exec bash 
Shell :: vim frozen 
Shell :: sqlmap get injection 
Shell :: set root password kali 
Shell :: gitignore ignore everything except 
Shell :: xcopy folder to another folder 
Shell :: ubuntu find file with text 
Shell :: error running pod install 
Shell :: select latest file linux 
Shell :: postgres install mac 
Shell :: matrix effect 
Shell :: git revert commit but keep changes 
Shell :: how to install vim through powershell 
Shell :: powershell alias 
Shell :: install postgres ubuntu 
Shell :: duplicate line intellij mac 
Shell :: ubuntu activate bluetooth 
Shell :: nuxt install pug 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =