Cygwin shortcut for command history

后端 未结 6 1652
难免孤独
难免孤独 2021-02-08 16:01

How can I search the command history in cygwin?

I don\'t want to keep pressing the arrow keys to execute a command from console command history.

6条回答
  •  孤街浪徒
    2021-02-08 16:31

    If you are using the default editing mode, do ctrl+R to search back through your history.

    If you have done set -o vi to use vi editing mode, then it is esc-/

提交回复
热议问题