Dec 052010
 

terminalSometimes it happen to find in our file system files with strange names, with that i means files with non-alphanumeric characters or spaces between different words, maybe uploaded by users, or files produced by mistake by someone or some program, and unfortunately is often not trivial to do a mv < file > or rm < file >.

Let’s see how to get rid of these horrors. Continue reading »

Flattr this!

Nov 272010
 

DRBD
You may need to have information replicated between two computers that actually are part of a cluster, in addition to”software” replica mechanisms such as Rsync you can use a product that is stable and included in the standard kernel: DRBD.

DRBD (Distributed Replicated Block Device) is a distributed storage system for the GNU/Linux platform. It consists of a kernel module, several userspace management applications and some shell scripts and is normally used on high availability (HA) clusters. DRBD bears similarities to RAID 1, except that it runs over a network.

DRBD refers to both the software (kernel module and associated userspace tools), and also to specific logical block devices managed by the software. DRBD device and DRBD block device are also often used for the latter.

It is free software released under the terms of the GNU General Public License version 2. Continue reading »

Flattr this!

Nov 262010
 

inotifyinotify is a Linux kernel subsystem that acts to extend filesystems to notice changes to the filesystem, and report those changes to applications. It replaces an earlier facility, dnotify, which had similar goals.

The original developers of inotify were John McCutchan, Robert Love and Amy Griffis. It has been included in the mainline Linux kernel from release 2.6.13 (June 18, 2005), and could be compiled into 2.6.12 and possibly earlier releases by use of a patch.

One major use is in desktop search utilities like Beagle, where its functionality permits reindexing of changed files without scanning the filesystem for changes every few minutes, which would be very inefficient. By being told that a file has changed directly by the kernel, rather than actively looking, Beagle and such utilities can achieve change-to-reindexing times of only about a second.

Continue reading »

Flattr this!

Nov 202010
 

We often hear that there are no games on Linux, or that are much worse than their counterparts for windows, so today I want to show some unusual games that run perfectly on our favorite operating system.
Caph

Caph

Caph is a sandbox game, based on physics. The game target is to make contact red object with green object. You can use various objects, solid, wire (rope), and bendable objects. Gravitation will help you.

Caph available as C source code, and can be compiled on any suitable GNU/Linux distribution.

Available on http://www.playdeb.net/software/Caph for Ubuntu dafrom release 9.10.

Continue reading »

Flattr this!

Nov 182010
 

history

The history command is very useful when you frequently work at the terminal and you want to invoke a command given in the past.But there are several options that are not so common or poorly understood, in this article we’ll see some of them in bash and zsh.

Basic usage

Show last commands in history.

Apply to bash and zsh

history

Continue reading »

Flattr this!