Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to make history | grep in windows

Use doskey in Windows for requesting your command history. For that you first
have to create once a storage file in some directory as follows:
doskey /history > C:/history.txt

Then just use doskey command together with fidstr to filter your history:
doskey /history | findstr "substring"
 
PREVIOUS NEXT
Tagged: #history #grep #windows
ADD COMMENT
Topic
Name
5+7 =