Script listing all the keys on a memcache server March 21, 2013
Antre du Tryphon
Search

Script listing all the keys on a memcache server

This script lists all the keys on a memcache server.

Recording a terminal session under Linux

It is possible to record a terminal session under Linux with ttyrec. It also records vi, emacs, etc. sessions. Fisrt, install ttyrec

How To Setup A Protected Wireless Connection Via the Command-Line

August 5, 2012 · admin Unix Ubuntu Linux Debian Raspberry PI Wheezy
Setting up a wireless connection via the command line may vary depending on the USB Wireless Interface you are using. These instructions also work for the Raspberry PI running Wheezy. You must be root in order to carry out these instructions. Make sure that your wireless interface is recognized.

Masquerading or replacing outgoing SMTP email address with Postfix

August 1, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu postfix
Postfix can replace an outgoing email address by another one. To do so, you must perform these steps: Add in /etc/postfix/main.cf the following line

Create an ext3 or an ext4 partition without a journal

July 16, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu
Most of the time, having a journal for ext3 and ext4 partitions is pretty useful. Nevertheless, you can prevent creating a journal by adding the option ^has\_journal. For example:

Initializing a brand new disk with "parted"

June 16, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu
"parted" is a replacement for "fdisk" of Linux.  It can handle disks larger than 2 TB.  Issue this command to launch "parted" where /dev/sdL is the disk you want to initialize.

How to unmount an encrypted partition?

January 29, 2012 · admin Unix Ubuntu
Unmount the partition

How to mount an encrypted partition?

January 29, 2012 · admin Unix Ubuntu
Map the partition

How to setup partition encryption?

January 29, 2012 · admin Unix Ubuntu
To setup partition encryption on Ubuntu, perform the following steps: Install the required software

How to use the loop device on Unix?

January 22, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04
The loop device on Unix lets access a file as a block device.  Disks are block devices.  So, it is possible to use a file as a disk.  The first step, create a file that will be used as a disk.