sh #terminal输出到文件。

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sh #terminal输出到文件。相关的知识,希望对你有一定的参考价值。

# http://superuser.com/questions/302914/append-stdout-to-file-from-terminal
#
# this will clobber the file and replace all data with stdout.
$ command > file.txt

# this will append stdout to the file. 
# meaning the value of stdout is tacked to the end of the file.
$ command >> file.txt

以上是关于sh #terminal输出到文件。的主要内容,如果未能解决你的问题,请参考以下文章