Programming for fun and profit

A blog about software engineering, programming languages and technical tinkering



Tue 11 June 2019

I/O redirection in bash

Posted by Simon Larsén in Tip of the Week   

Alright, so Tip of the Week has turned somewhat into "tip every two or three weeks". It turns out that it's pretty difficult to find the time to actually write something every week. but I'll keep trying. With that out of the way, let's head into the subject matter of …

Read more...


Tue 21 May 2019

Piping commands in bash

Posted by Simon Larsén in Tip of the Week   

Many, many bash commands are built around and meant to be used with a fundamental feature of the bash shell (actually, most shells), called piping. Put simply, piping takes the output of one command and provides it as input to the next. Here's a simple example of running ls and …

Read more...


Mon 06 May 2019

Using bash aliases

Posted by Simon Larsén in Tip of the Week   

For this Tip of the Week, I'd like to present something that took me a while to figure out why it was useful. That something is bash aliases, and I'll now walk you through how to create aliases, and the two main ways in which I use them (although I'm …

Read more...