Cygwin shortcut for command history

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

    Checkout the "Gnu Bash Manual" (man bash) for the command "fc". E.g.fc -l -80 would list the last 80 commands, while other options let you search with RegEx...

提交回复
热议问题