unix

Dont Fear the Makefile

7 minute read Published:

A simple Makefile tutorial describing the basics and todays possible usage
Introduction I’m writing this because I have the feeling that many developers underestimate the power of Makefiles and they are simply not aware of this nice and handy tool which is installed on nearly every Unix-like machine. To be honest, who have never executed a make install or something similar? Most tutorials I’ve found out there are bloated with stuff, more complex than they would have to and you have to read pages after pages to get the basics.

Why I like wc

3 minute read Published:

Wc is a small handy tool which I use often. I’m calling it word-count in my head.(Today I learned by looking wc up on Wikipedia: it is actually called word count) It is part of the GNU coreutils it should be on nearly any system. What can you do with wc? With wc you can simply count lines, words or characters of a file or string, and thats it. Nothing more or less.

Execute multiple commands on files with find

2 minute read Published:

Hello everybody In this post I will show you how you can execute multiple commands on files via find. Firstly how to use find: find -type f -iname "*.extension" This will find all files under the working dir with the given extension. Of course you can use other things like filesize, user who owns that file etc. But for that example I will using this. For example if we have multiple .