Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

grep windows

findstr
Comment

grep windows

findstr /spin /c:"string" [files]
The parameters have the following meanings:

S = recursive Subfolders
P = skip non-Printable characters
I = case Insensitive
N = print line Numbers
And the string to search for is the bit you put in quotes after /c:
Comment

grep windows

C:> dir /B | findstr /R /C:"[mp]"
Comment

grep in windows

Use findstr in Windows with following command line structure:
findstr [/I] [/S] "substring" "regex_file_name"
/I   Case-insensitive search.
/S   Search files in subfolders recursively.
Comment

PREVIOUS NEXT
Code Example
Shell :: bash how to delete blank lines 
Shell :: git create a new repository 
Shell :: check all running processes linux 
Shell :: list files of type txt from cmd 
Shell :: bash for i 
Shell :: crosh 
Shell :: How to list manually installed packages in ubuntu 
Shell :: Contact the upstream for the repository and get them to fix the problem. 
Shell :: git force lf 
Shell :: install sublime text on ubuntu 20.04 
Shell :: read from .env file bash 
Shell :: run command as root administrator mac 
Shell :: install yarn on ubuntu 
Shell :: instal kdenlive 
Shell :: how to update pg_dump version linux 
Shell :: how to start ngrok server 
Shell :: powershell t admin 
Shell :: sum bash 
Shell :: git merge branch to master 
Shell :: should mocha and chai be npm installed as dependencies or dev dependencies 
Shell :: rsync ssh 
Shell :: gulp-gzip 
Shell :: how to see (and kill) what is running on your port +mac 
Shell :: git clone single branch 
Shell :: git clone with different name 
Shell :: mac terminal curl 
Shell :: take sudo access inside vim 
Shell :: drupal cli composer 
Shell :: firefox ubuntu snap install 
Shell :: how to install swift on ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =