I'm using bash shell. If I want to execute the last echo command, I can run
history | grep echo
and then grab the last echo command from what is displayed and run it. I was wondering, is there a shorter way to do this? I'm happy to use another shell if that allows me to somehow more easily execute the last "echo" command if all I know is the command started with "echo."