search from terminal history code example
Example 1: cmder search filtered history
Press "Ctrl" + "r" and then type your substring to search in your history.
Last matching command line will be found, keep using "Ctrl" + "r" to find
previous ones. Once you find your searched command just press "Enter":
(reverse-i-search)`searched_substring': command_with_searched_substring
Example 2: find old command terminal
history | grep "foo*"