Every year, I publish a list of best technical talks of the previous year. Usually, these posts are published in the first couple of months of the year. 2020 and 2021, to say the least, haven’t been “normal” years, which explains why I’ve been dilatory in publishing this post.


Bash Redirection: The Basics

A bash script is commonly a set of commands. There are three standard file descriptors of any command:

  • 0 → stdin
  • 1 → stdout
  • 2 → stderr

There are two commonly used redirection operators:

  • > output (This is the default operator for fd 1)
  • < input (This is the default

Cindy Sridharan

@copyconstruct on Twitter. views expressed on this blog are solely mine, not those of present or past employers.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store