One - One Code All

Blog Content

linux快速重复执行上一条命令

Linux-Mac   2008-08-10 07:05:02

有 4 种方法可以重复执行上一条命令:

使用上方向键,并回车执行。

按 !! 并回车执行。

输入 !-1 并回车执行。

按 Ctrl+P 并回车执行。


上一篇:Linux关机命令详解
下一篇:shell 一行写一个for循环

The minute you think of giving up, think of the reason why you held on so long.