Difference between revisions of "/dev/stderr"

From wikieduonline
Jump to navigation Jump to search
Line 8: Line 8:
  
 
  2>[[/dev/null]]
 
  2>[[/dev/null]]
 +
 +
 +
your-command-with-stdout-and-stderr 2>&1 | tee -a your file
  
 
== Related ==
 
== Related ==

Revision as of 10:05, 15 September 2022

wikipedia:stderr

  • 2>&1
  • &>
2>/dev/null


your-command-with-stdout-and-stderr 2>&1 | tee -a your file

Related

See also

Advertising: