linux中 > 的用法

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/wudinaniya/article/details/84846732

将history命令执行的结果保存到history.log文件中

[root@gxzs-solr1 ~]# history > history.log      (history.log 文件 会自动生成)
[root@gxzs-solr1 ~]# cat history.log 

猜你喜欢

转载自blog.csdn.net/wudinaniya/article/details/84846732