You can press up-arrow or down-arrow to walk through a list of previous commands in most modern shells like Bash, ZSH, TCSH, FISH and others.
You can press up-arrow or down-arrow to walk through a list of previous commands in most modern shells like Bash, ZSH, TCSH, FISH and others.