📌  相关文章
📜  linux 将输出重定向到文件 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:58.662000             🧑  作者: Mango

代码示例1
#Redirect data to a file
SomeCommand > SomeFile.txt  

#Or if you want to append data:
SomeCommand >> SomeFile.txt

#If you want stderr as well use this:
SomeCommand &> SomeFile.txt