Remove the envelope icon from the Gnome indicator applet

by
on
December 7, 2010

In Ubuntu it can be difficult to customize the indicator applet which by default contains the sound, battery, Bluetooth, and empathy icons. If you don’t use empathy and want to remove the icon there is no simple option to change. Since this is a default indicator icon you must completely remove the indicator-messages package to [...]

Read More
No Comments
ubuntu

How to release the Linux disk cache

by
on
November 19, 2010

For whatever reason you may need to free the disk cache at some point. Since Linux 2.6.16 the interface /proc/sys/vm/drop_caches has been available to simplify this process. First we run the sync command before dropping the cache. Doing this will ensure that all memory in the cache is updated and all dirty pages are synchronized [...]

Read More
No Comments
system administration

Extract the contents of an RPM package

by
on
October 10, 2010

Strangely enough there is no way to directly extract the contents of an .rpm package using the rpm (RPM Package Manager) tool. This feature can come in handy for example if you need to access a single file in a package but you don’t want to install it on your system. Fortunately there is a [...]

Read More
No Comments
red hat

Convert a relative path to absolute path in BASH

by
on
October 1, 2010

There are a few ways to take a relative path and convert it to an absolute path which can be accessed regardless of the current working directory. The easiest method is to use the readlink utility which comes bundled with about every distribution. Here my working directory is my home directory. It is printed as [...]

Read More
No Comments
bash

Multiple line comments in BASH

by
on
September 29, 2010

Comments are done in BASH and most other shells by placing a ‘#’ mark at the beginning of a line. To create a multi-line comment, or to comment out an entire block of code, you can use the following HERE DOCUMENT feature. :

Read More
No Comments
bash

Clone a VirtualBox Guest VM

by
on
September 13, 2010

Having a clone of a particular VM is helpful whether you want to keep a backup vanilla image to use in the future, or create a cluster of identical machines that can run in parallel. This process is not well documented and can be slightly tricky. Hopefully this guide will help many of you through [...]

Read More
No Comments
virtualbox

Setup SSH access between VirtualBox Host and Guest VMs

by
on
September 10, 2010

It is often necessary to have the ability to SSH between your Linux Host and your Guest virtual machines. In VirtualBox you can do this by simply configuring a second network interface on the Guest. This type of setup will not only allow SSH sessions between Host and Guest, but also between separate Guests themselves. [...]

Read More
17 Comments
virtualbox

Change hostname on RedHat

by
on
September 10, 2010

Changing the hostname on a RHEL box is fairly straightforward if you perform the following steps. First change the HOSTNAME line in /etc/sysconfig/network Then change the hostname in /etc/hosts From here you can either reboot for the changes to take effect or do the following two steps. Force the system to start using the hostname. [...]

Read More
No Comments
red hat

Convert PDF file to text with pdftotext

by
on
September 9, 2010

In many cases it can be helpful to access text from within a PDF file but accomplishing this can be next to impossible. Luckily in Linux there is a command line program called pdftotext which is included with the xpdf package. This first step is making sure that the xpdf package is installed. In Ubuntu [...]

Read More
No Comments
commands

Mount a VirtualBox shared folder inside a guest VM

by
on
September 9, 2010

VirtualBox makes it easy to share folders between the host OS and various guest virtual machines, but it can be difficult to remember the exact way to go about mounting the shared folder within a guest VM. Here is the way to do it correctly. First off make sure you have installed VirtualBox guest additions. [...]

Read More
No Comments
virtualbox
Copyright 2008-2010 WiredRevolution.com. All rights reserved.