BASH Shell commands sort (commands for Linux)

linux sort commandSort is one of those commands that does exactly what is says it does. It sorts stuff. Sort is capable of dealing with numbers, words and even months of the year. Sort can also deal with multiple files and sort them all into one single file.

In this tutorial I show you how to use sort for different types of data and how to change the behaviour of sort.

Larger persistence Linux on USB

larger persistence linux on usb flash driveOk, so you have a USB flash drive with a bootable distro of Linux running on it, and you know how useful and convenient it is. The only problem is that you can’t get more than 4GB’s of persistent storage. Well that is not true, you can!

In this tutorial i show you how to increase the size of your persistence and make it as large or as small as you want. This technique works on 8GB, 16GB, 32GB and larger flash drives.

The reason why you are limited to 4GB’s of persistence is due to the file size limitation of FAT32, which are 4GB for any single file. As your persistent storage is actually just a file on your USB flash drive it’s size is governed by the FAT32 file size limit.

This tutorial will take you through the steps of replacing the persistence file with a new partition on your USB flash drive to get more storage space.

BASH Shell commands pipes (commands for Linux)

pipes commands for linuxOne of the most powerful, and useful things you can do with IO redirection is to connect up multiple commands with what are known as pipes.

Pipes allow you to take the output from one command and feed, or “pipe” it into the input of another command. It is a technique that is invaluable and you will find yourself using it very often to accomplish a vast array of tasks.

In this tutorial i will show you the basics of how pipes work and some examples of how useful pipes can be.

Installing Virtualbox guest additions

installing virtualbox guest additionsTo get the full functionality out of your virtual machines, installing the Virtualbox guest addition is a must.

By installing the guest additions on your virtual machine you will be able to share directories between your host machine and virtual machine, have access to your host machines clipboard and make use of hardware acceleration for your virtual machines graphics ( especially useful if you want your virtual machine’s desktop to be able to maximise and fill your screen).

In this tutorial i show you how to get and install the Virtualbox guest additions and demonstrate the difference between a virtual machine with guest additions and one without.

If you haven’t already done so i would also recommend that you install the Virtualbox extension pack as this adds further functionality to your virtual machines.

links:

virtualbox iso download

Installing Virtualbox Extension pack – Ubuntu Linux access USB devices in Virtualbox

Installing virtualbox Extension packThis tutorial explains the process of adding the virtualbox extension pack to your installation of Virtualbox. It also covers some extra steps that you will need to do so the extension pack’s features are available within Linux.

By installing the Virtualbox extension pack you will gain the ability to access USB devices plugged into your host machine, seamlessly within your VM’s.

PXE booting is another feature that you will gain from installing the extension pack. With PXE booting you are able to boot virtual machines over a network.

RDP will also be enabled for use with your VM’s . This will allow you to access and control you VM’s remotely over a network using an RDP client.

Raspberry pi Fedora remix running in QEMU

Raspberry pi tutorialIn anticipation of the arrival of my Raspberry pi I decided that I could wait no longer and decided to have a look at one of the Raspberry pi OS’s. Due to the Raspberry pi having an arm processor, running the Raspberry pi Fedora remix within virtualbox would not be possible.
So I had to use some other method. After a few hours of tinkering with QEMU and creating a kernel image for the Raspberry pi I had managed to get the Fedora remix running. This tutorial takes you through that process step by step, and at the end you should have a fully functioning Raspberry pi Fedora remix Virtual machine to play with. The full tutorial can be watched here.

The Raspberry Pi is a £15/$25 computer that runs GNU/Linux. See http://www.raspberrypi.org/ for more info.

BASH Shell commands head ( commands for linux )

head commands for linuxThe head command is typically used for displaying the first ten lines of a file but it is a lot more versatile than just performing this function. In this tutorial you will learn how the head command is much more useful than just displaying the first ten lines of a file.

BASH Shell commands wildcard character classes ( command for Linux )

wildcard character classesCharacter classes are an integral part of wildcards. When combining wildcards and character classes you are able to create some very complex patterns that can half your workload while still achieving your desired goal. This tutorial shows you how to use wildcard character classes and demonstrates how they can be used to speed up your work flow when combined with commands.

BASH Shell commands wildcards (commands for linux)

wildcards commands for linuxWant to work faster in BASH with less typing?  Wildcards is what you need. Check out this tutorial on wildcards that shows you how to use them and some common problems that may occur.Watch here.

BASH Shell commands dealing with spaces (commands for Linux)

dealing with spaces commands for linuxHaving trouble using files that have spaces in there names? Spaces in file names are quite common and don’t have to be a pain. In this tutorial I show you how to work with files and directories that have spaces in their names, using a couple of different techniques.