linux下history命令的使用方法

1099阅读 0评论2012-12-25 hanhuili
分类:Python/Ruby

摘录

!number用来执行history列表中的某一个命令,number表示列表中的数字

!!表示执行前一个命令,sudo !!以root身份执行前一个命令

!ls执行最近一个以ls开始的命令

[1]
上一篇:Passengers不是部灾难片
下一篇:Getting Started with POSIX Threads