Cygwin shortcut for command history

后端 未结 6 1660
难免孤独
难免孤独 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:34

    I use the history command in combination with grep, e.g. history | grep vi shows all commands where vi was used.

提交回复
热议问题