Jan 24 2007

IBM tutorial for filtering text with Linux utilities

Tag:tepezcuintle @ 22:13

The Linux operating system is loaded with files: configuration files, text files, documentation files, log files, user files, and the list goes on and on. Quite often, those files contain information you need to access in order to find important data. Although you can easily dump the contents of most files to the screen with standard utilities such as cat, more, and others, there are utilities better suited for filtering and parsing out only those values that are relevant to you.

As you read this article, you can open your shell and try the examples of each utility.

Regular expressions

Before you start, you should first understand what regular expressions are and how to use them.

Continua”IBM tutorial for filtering text with Linux utilities”


Jan 10 2007

Password-less logins with ssh yet another tutorial

Tag:tepezcuintle @ 20:21

We all know that ssh is great to allow you to
login to your server using an ssh client.

You also know that you can use ssh to copy
files to your server using scp. for example

scp marquito.tgz marquito@myserver.com:/home/marquito/backups

will copy the file marquito.tgz to myserver.com and put it
under /home/marquito/backups

Continua”Password-less logins with ssh yet another tutorial”


Jan 09 2007

Building complex scripts from small One liners

Tag:tepezcuintle @ 20:03

Build simple commands into full-fledged paragraphs for complex (but meaningful) reports

Studying Linux (or indeed any Unix) is much like studying a foreign language. At some magical point in the course of one’s studies, halting monosyllabic mutterings begin to meld together into coherent, often used phrases. Eventually, one finds himself pouring out entire sentences and paragraphs of the Unix Mother Tongue, with one’s mind entirely on the problem at hand (and not on the syntax of any particular command). But just as high school foreign language students spend much of their time asking for directions to the toilet and figuring out just what the dative case really is, the path to Linux command-line fluency must begin with the first timidly spoken magic words.

Continua”Building complex scripts from small One liners”


Jan 03 2007

What to tune after installing MySQL

Tag:tepezcuintle @ 16:53

My favorite question during Interview for people to work as MySQL DBAs or be involved with MySQL Performance in some way is to ask them what should be tuned in MySQL Server straight after installation, assuming it was installed with default settings.

I’m surprised how many people fail to provide any reasonable answer to this question, and how many servers are where in wild which are running with default settings.

Continua”What to tune after installing MySQL”