📜  命令的历史 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:07.160000             🧑  作者: Mango

代码示例1
Highly recommended command to use in terminal for reviewing commands and
reuse some of them. Just execute in terminal:

history

Also recommended to use together with grep for filtering a specific used command

history | grep "foo*"