Skip to main content
stinky.blog

stdin, stdout, stderr

Redirection #

Write (or overwrite) stdout to file:

thing > place

Append stdout to file:

thing >> place

Write/append errors to a file:

thing 2> or 2>> place