Programming for fun and profit

A blog about software engineering, programming languages and technical tinkering

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


Mon 29 April 2019

Git local

Posted by Simon Larsén in Tip of the Week   

Nowadays, Git is almost ubiquitous in software development. Most developers also know that Git is a decentralized version control system, meaning that every copy of the repository carries the full revision history, and there is no "central" repository. A consequence of the decentralized aspect of Git is that you can …

Read more...



Tue 09 April 2019

Reverse search in bash

Posted by Simon Larsén in Tip of the Week   

Have you ever found yourself furiously tapping the UP-arrow (or ctrl+p) to find a command that's probably waaaay up there? Would you be surprised if I told you there's a better way? When you want to re-use a command you've written previously, and you know it's not the previous …

Read more...