首页 > 系统服务 > 详细

linux bash 中的重定向

时间:2015-04-11 19:09:24      阅读:232      评论:0      收藏:0      [点我收藏+]

 

在 linux 中,这些重定向都是等价的

 
  1. $ file command arg1 arg2 arg3
  2. $ command > file arg1 arg2 arg3
  3. $ command arg1 > file arg2 arg3
  4. $ command arg1 arg2 > file arg3
  5. $ command arg1 arg2 arg3 > file

linux bash 中的重定向

原文:http://www.cnblogs.com/lian4187/p/4418047.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!