blog article image

How to Set Environment Variables Permanently in Windows, Linux, and Mac

In this article, I will show you how to set environment variables (permanently) in Windows, Linux, and Mac. Firstly, why is this useful? Often,...

Read more
blog article image

How can I determine the size of a directory or folder in Linux?

du -hs /path/to/directory -h: human-readable -s: summary (don't show size of each individual file within the...

Read more
blog article image

Tutorial: How to use Linux Screen

A problem that often arises when you’re dealing with lots of data is that it takes forever to process. So you SSH into your Amazon EC2 machine,...

Read more
blog article image

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,...

Read more