📜  从历史中重新运行代码 - Shell-Bash 代码示例

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

代码示例1
# Using an exclamation point followed by a number is arguably the simplest use:
!636

# However, you can also run the last executed command directly without knowing its history number:
!!

# Or you can run two commands back:
!-2