linux bash 中的重定向


 

在 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
posted @ 2015-04-11 17:36  lian4187  阅读(182)  评论(0编辑  收藏  举报