巧妙使用Bash history 命令

Bash 的历史悠久,是一个古老的 Shell ,并且它还有一个更古老的前身 the Bourne Shell (sh) 。因此,Bash 的 history 命令是所有的 Linux Shell history 命令中功能最丰富的。Bash 版本的 history命令不仅支持反向搜索、快速调用,还支持重写历史记录等等功