📜  Windows 中的 grep 历史记录 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:46.849000             🧑  作者: Mango

代码示例1
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"