Linux command: save the output of a command to a file

来源:互联网 发布:巢湖安广网络客服电话 编辑:程序博客网 时间:2024/05/23 00:06

ps -e > ps.txt

如果没有ps.txt则创建;有则覆盖

ps -e >> ps.txt

没有则创建;有则追加。

原创粉丝点击