Bash Scripts — Part 4 — Input and Output

Last time, in Part 3 of this bash scripting series, we talked about command line parameters and switches. Our topic today is input, output, and everything related to this.

Photo by Ben Kolde on Unsplash

You are already familiar with two methods of working with what command-line scripts output:

  • Display the output data on the screen.
  • Redirecting output to a file.

--

--

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
Mikhail Raevskiy

Mikhail Raevskiy

430 Followers

Bioinformatician at Oncobox Inc. (@oncobox). Research Associate