Extending an Existing Hard Drive

This article is targetted at virtual servers where the capacity of a drive can be extended without having to replace the physical hardware. If you have a physical hard drive where all the space has not been allocated, these instructions could still be of use – but that scenario is not likely. Identify additional drive … Read more

Adding a New Hard Drive

Adding a new hard drive to a Linux instance involves the following steps Add physical / virtual drive to the instance Scan for and identify new drive Prepare new drive for use Adding the new drive is outside of the scope of this article, as it can be done in many different ways depending on … Read more

Convert a Number to an IP Address

On occasion, it is necessary to convert from a numeric value to an IP address, particularly if that numeric value was created by converting from an IP address. In a previous article, I showed how to Convert an IP Address to a Number, here I will show you how to reverse that process. Create a … Read more

Command Pipeline Errors

When chaining commands in Bash using the pipe | separator, the commands execute in sequence, with the output of the first command being used as the input to the second command. When running a single Bash command, it is possible to detect if an error has occurred by examining the $? built-in Bash variable directly after … Read more

Command Pipelines

When using pipelines, the output from the first command is treated as the input to the second command, the output of the second command is treated as the input to the third command, and so on.