Difference between revisions of "/dev/stdout"

From wikieduonline
Jump to navigation Jump to search
m (Welcome moved page Stdout to /dev/stdout)
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[wikipedia:Stdout]]
 
[[wikipedia:Stdout]]
  
* <code>2>&1</code>
+
* <code>[[2]]>[[&1]]</code>
  
 
* <code>>&</code>
 
* <code>>&</code>
  
* The [[twelve-factor app]] treat logs as event streams and each runnig process ts event stream, unbuffered, to <code>stdout</code>.<ref>https://12factor.net/logs</ref>
+
* The [[twelve-factor app]] treat logs as event streams and each runnig process [[ts]] event stream, [[unbuffered]], to <code>stdout</code>.<ref>https://12factor.net/logs</ref>
 +
 
 +
[[find .]] 2>&1
  
 
== Related ==
 
== Related ==
* <code>[[set -x]]</code>
+
* <code>[[set -x]]</code> to print every command that is executed and every variable that is set to the [[standard output]] in [[Bash]]
 +
* [[CKA: Manage container stdout & stderr logs]]
  
 
== See also ==
 
== See also ==

Latest revision as of 11:37, 15 February 2024

wikipedia:Stdout

  • >&
find . 2>&1

Related[edit]

See also[edit]

  • https://12factor.net/logs
  • Advertising: