转自: http://linux.byexamples.com/archives/349/how-to-redirect-output-to-a-file-as-well-as-display-it-out/
bash 中的重定向操作符 “>" 大家肯定都很熟悉,如果你想把程序的输出存储到文件中去的话,很简单:
tee 就是解决的办法:
is-Programmer 是一个面向 Linux 爱好者与程序员的 Blog 系统,具有简洁的风格,方便的代码高亮和数学公式插入功能,适合撰写学习笔记和技术文档。
Host by is-Programmer.com | Power by Chito 1.3.3 beta
2024年1月17日 01:42
it's really nice and meanful. it's really cool blog. Linking is very useful thing.you have really helped lots of people who visit blog and provide them usefull information. Kissimmee Termite Control
2024年1月17日 01:44
Hmm… I interpret blogs on a analogous issue, however i never visited your blog. I added it to populars also i’ll be your faithful primer. Orlando Bed Bug Pest Control
2024年1月17日 01:46
In this case you will begin it is important, it again produces a web site a strong significant internet site: Oviedo Bed Bug Pest Control