...

Output to standard out AND a file at the same time

Let’s say you’re running a script, and you want the output to show up in the terminal and be output to a file simultaneously. This is how to do...

...

Automation: For loops in bash (for loops on the command line)

If you have to run a script that processes data for a particular file for a particular day, i.e. your file is on hadoop with the date in the path,...