Linux查看历史命令并执行的方法

  

查看历史命令,并执行指定命令

        owen@owen:欧文~//软件/nginx-1.10.1美元历史| grep“配置”   1083 ./configure   1109 ./configure——prefix=/usr/nginx   1110 ./configure——prefix=/usr/nginx   2058 ./configure——prefix=/usr/地方/nginx——使用openssl=/home/欧文/欧文/软件/openssl-1.0.2m——with-http_ssl_module add-dynamic-module=/home/欧文欧文/项目/src/ngx_my_test_study   2064年历史| grep配置      owen@owen:欧文~//软件/nginx-1.10.1 $ ! 2058   ./configure——prefix=/usr/地方/nginx——使用openssl=/home/欧文/欧文/软件/openssl-1.0.2m——with-http_ssl_module add-dynamic-module=/home/欧文/欧文/项目/src/ngx_my_test_study      

以上这篇Linux查看历史命令并执行的方法就是小编分享给大家的全部内容了,希望能给大家一个参考,也希望大家多多支持。

Linux查看历史命令并执行的方法