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 :: dual boot kali linux isnt showing 
Shell :: ansible choose host file 
Shell :: bash check if file empty 
Shell :: linux remove all from current directory 
Shell :: How to install LAMP in Ubuntu 20.04? 
Shell :: curl ssl verify false cli 
Shell :: IF NOT DIR BASH 
Shell :: edit branch name git 
Shell :: recover lost file git 
Shell :: github start ssh agent 
Shell :: Creating a New Repo on the command line 
Shell :: how to mount a hard drive in ubuntu 
Shell :: zsh: no matches found: with * 
Shell :: how to install emotion in gatsby 
Shell :: command not found pipenv bash 
Shell :: linux bash command to clean up log files 
Shell :: delete a local and remote git branch 
Shell :: openssl universal requires cocoapods openssl-universal 
Shell :: how to create a text file in batch 
Shell :: windows nginx stop 
Shell :: iptables deny all 
Shell :: sequelize installation 
Shell :: list all node versions mac 
Shell :: vscode tab not working 
Shell :: enable rdp windows 10 powershell 
Shell :: forticlient vpn connected but not working 
Shell :: Accessors are only available when targeting ECMAScript 5 and higher. 
Shell :: how to install terraform macos 
Shell :: install android studio from ubuntu terminal 
Shell :: setting git username 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =