这个需要使用到history命令。可以加数字,返回最近执行的几条命令。如果不加数字会返回所有的历史命令。 [root@localhost ~]# history 20 1015 rm stdin.log 1016 ll 1017 rm yy 1018 ll 1019 echo 'hello' 1>> Read More
posted @ 2020-02-02 18:08 护花使者 Views(1241) Comments(0) Diggs(0)