Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision Both sides next revision
syntax:redirection [2010/12/09 01:50]
127.0.0.1 external edit
syntax:redirection [2011/10/19 03:49]
thebonsai [Examples] don't suggest closing the descriptors
Line 208: Line 208:
 <​code>​ <​code>​
 command >/​dev/​null 2>&1 command >/​dev/​null 2>&1
-</​code>​ 
-__**alternative**__ (by closing both filedescriptors):​ 
-<​code>​ 
-command >&- 2>&- 
 </​code>​ </​code>​
  
  • syntax/redirection.txt
  • Last modified: 2013/04/14 12:30
  • by thebonsai