Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

search in history command windows

Yes you can using doskey instead of history in Windows! You only have to first 
create a storage file as:
doskey /h > c:cmd_history.txt
Then just call your command history and filter your search as follows:
doskey /history | findstr "substring"
Comment

windows history command

Use doskey! First you have to first create a storage file in a directory as:
doskey /h > c:cmd_history.txt
Then just call your command history:
doskey /history

Optionally you can filter your history commands searching with findstr:
doskey /history | findstr "substring"
Comment

PREVIOUS NEXT
Code Example
Shell :: git remove chached 
Shell :: linux decode base64 string 
Shell :: windows reverse shell powershell 
Shell :: install dvipng ubuntu 
Shell :: git get commit author 
Shell :: clone branch in git 
Shell :: git rename 
Shell :: bash check length of variable 
Shell :: grep ignore binary file 
Shell :: ImportError: No module named alsaaudio 
Shell :: revert git commit 
Shell :: ng generate service 
Shell :: git remote using ssh 
Shell :: origin git 
Shell :: warning unprotected private key file ec2 
Shell :: bash variable name to function 
Shell :: what is difference between npm install and npm install save --dev 
Shell :: git remove file from tracking without deleting 
Shell :: remove letter in string bash 
Shell :: stop nginx server 
Shell :: macos brew 
Shell :: gcc alternatives 
Shell :: git origin set branch 
Shell :: Class "SimpleXMLElement" not found 
Shell :: copy folder linux 
Shell :: bash input 
Shell :: npm install package globally 
Shell :: install kivy 
Shell :: how to run docker in ubuntu 
Shell :: create crt and key 
ADD CONTENT
Topic
Content
Source link
Name
2+2 =