Jan 182011
 

awkAwk has always been for me a source of great hatred and love, isan incredibly powerful command with which it is possible to build real programs.

In this article I will give you 6 examples ready for use with your preferred terminal.

AWK is a data driven programming language designed for processing text-based data, either in files or data streams. It is an example of a programming language that extensively uses the string datatype, associative arrays (that is, arrays indexed by key strings), and regular expressions.

Continue reading »

Flattr this!

Jan 162011
 

tuxrayI had recently problems with servers running application server Java and suddenly began to see strange errors like “broken pipe” or exausted resources, this is often due to the high number of open files that a modern server can bind especially compared to the default Linux systems that is still standing at 1024.

Let’s see how many open files are present on our system and how to resolve, or better to prevent this problem.
Continue reading »

Flattr this!

Jan 132011
 

keystoreMany Java application server use a keystore as a repository of their certificates and in general all Java applications use the one supplied with the JDK itself, Let’s see what is it and how to work with it.

A keystore is a repository of security certificates, that can hold your keys and certificates and encrypt them all with a password. In other words, a keystore is just like a hashtable which has an alias that identifies a certificate and then the certificate itself.

The Java JDK maintains a CAC keystore in jre/lib/security/cacerts. JDKs provide a tool keytool to manipulate the keystore.

Another way to manage this kind of certificate is Portecle a graphical tool that can help in these operation.

Continue reading »

Flattr this!

Jan 092011
 

mono As first thing i want to say that i’m not so well informed about the background of the Mono
project, his licenses model and possible implications, and I’m trying to get an idea after reading a few posts on techrights.org.

In fact I read on techrights very strong words against this project, and so I’m trying to understand something more.

But first: what is’ exactly the Mono project?

From mono site:

Mono is a software platform designed to allow developers to easily create cross platform applications. Sponsored by Novell (http://www.novell.com/), Mono is an open source implementation of Microsoft’s .NET Framework based on the ECMA standards for C# and the Common Language Runtime.

Continue reading »

Flattr this!

Jan 082011
 

tarOr scp VS tar+ssh VS rsync+ssh VS tar+netcat

In a previous article in which i’ve show some uses of tar, I made an example of how to use it to move large amounts of data between two computers, but many people have said that it is better, or at least they prefer to use rsync, others prefer to use netcat. I remain convinced that a tar+ssh is faster than rsync+ssh is correct then do a test on the field and see some numbers.
Continue reading »

Flattr this!