How to Check Disk and Memory Usage

This post is dedicated to checking disk and memory usage with three utilities, df, du, and free. free is arguably the easiest of these three to use, as all it requires is a single line to display the amount of free and used memory in the system. The -m and -t switches used below convert the results to … Continue reading

How to MD5SUM (and SHA256SUM)

In this post I’ll be covering what is and how to MD5SUM and SHA256SUM (which is essentially a more secure version of MD5SUM). Before we get into how to create and verify an MD5SUM, we’ll cover what exactly it is. MD5 is (surprise, surprise!) the successor to MD4, which is a cryptographic hash function that creates a 128 bit … Continue reading

How to Compile and Install from Source Code

This post covers how to compile and install a program from source code. First up, you will need to get the package build-essential. This package is a list that contains a few essential items for compiling from source, namely package development tools dpkg-dev, the g++ compiler, a few libraries and the make program. To … Continue reading