Run two commands in same time

It should be very useful to be able to run two command in the same time.
For example if you need to compare different counters on two different commands in a different time
You can do this quicky without writing a complex script like this:

Continue reading

Posted in Linux, sh | Tagged , , , , , , , , , , | Leave a comment

Read file and run command on each line with AWK

I often need to run a command for each line of a file.
I use awk to create the file and next I simply use a “for” or “while” loop to run my command.

By the way it is easy and quickly to directly doing this in awk

Continue reading

Posted in Linux, sh | Tagged , , , , , , , , | Leave a comment

Run existing Windows Vista installation on your Linux with VMWare

Many Linux users run windows on vmware to run some specifics apps not running well with Wine or faster in vmware. (Adobe lightroom for example). You can find on google many way to run your existing windows XP install in linux through VMWare. That’s not very difficult. To resume you need to:

Continue reading

Posted in Vrac | Leave a comment

Comment a block of text in VIM

it’s easy to comment a large text zone in VIM:

switch in visual mode (CTRL + V)
press touch I (upcase i)
Enter the comment caractere (# for exemple or // for exemple)
And now press ESC.

Et voilà!

Posted in Linux, Vrac | Tagged , , , , , , , , , | 1 Comment

Dell OpenManage 5 (OMSA) on Debian setup.

Cet aricle est tiré du site de john parnefjord. Merci à lui pour ce fabuleux article! 🙂
Dell OpenManage 5 (OMSA) est maintenant disponible en package .deb. Rien de plus facile pour l’installer dorénaveant. A condition d’avoir toutes les informations nécessaires!
Dans ce tutoriel nous verrons comment l’installer rapidement.

Continue reading

Posted in Linux | Tagged , , , , , , , , , , , , , , , , , | Leave a comment

Funboard Photos

Le week end dernier, j’ai pu croiser ses deux gars en funboard qui semblaient bien s’amuser. Quelques photos de leur performance en windsurf.

Some amazing funboard picture

Amazing Jump in funboard!

Saut en planche

Decollage en funboard

Toutes les photos de la serie sont ici:
more pictures here:
Crapules Photo Gallery: Windsurf

Posted in Photos Sport | Tagged , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Hocico Live in Paris 2008/04/01

Some pictures of the Hocico live gigs in Paris the 1st april 2008

Hocico Live Paris 2008

Hocico Live Paris 2008

Hocico Live Paris 2008

More photos available here:

Hocico Live In paris 1st april 2008

Posted in Photos Concerts | Tagged , , , , , , , , , , , , , , , , , , , , , , , , , , , | Leave a comment

Ethernet bonding (aggregating multiple ethernet channels)

Ethernet bonding refers to aggregating multiple ethernet channels together to form a single channel. This is primarily used for redundancy in ethernet paths or for load balancing.

To use Bonding Ethernet for High-Availability (fail-over) on Debian you need to:

install package ifenslave-2.6.To install this package follow this command
#apt-get install ifenslave-2.6

edit /etc/network/interfaces to look like this:

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
auto bond0
iface bond0 inet static
up ifenslave bond0 eth0 eth1
down ifenslave -d bond0 eth0 eth1

comment or borrow the lines referring to your real NICs in the same file
add the following lines to your /etc/modprobe.d/bonding:

alias bond0 bonding
alias eth0 e1000
alias eth1 e1000
options bonding mode=0 miimon=100

Posted in Linux | Tagged , , , , , , , , , , , , , , , | Leave a comment

Export/Import an existing list of packages

It is possible to export a list of all packages on a server and import this list to a new one.
It’s very usefull if you have a big server farm to manage.

Il est possible d’exporter la liste de toutes les packages d’un serveur et d’importer cette liste sur un autre serveur. Cette commande est très pratique si vous avez une ferme de serveurs à gérer.

Export packages list from the primary server:
dpkg –get-selections > mes_paquetages

Import the list on the new server:
dpkg –set-selections < mes_paquetages

And finally install the packages:
apt-get dselect-upgrade

Importons la liste des packages sur le serveur primaire:
dpkg –get-selections > mes_paquetages

Sur le nouveau serveur importons la liste des packages du serveur primaire:
dpkg –set-selections < mes_paquetages

Et enfin installons les paquets:
apt-get dselect-upgrade

Posted in Linux | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Alienware M15x and Ubuntu

Just received my Alienware M15x and install Ubuntu 8.04 on it.
No problem except for the sound.
Need to add the line

options snd-hda-intel model=mbp3

in file

Another little issue if you’re using AMsn and you don’t have sounds when you receive a message or when someone connect:
Go to Accound / Preferences / Others and replace
play $sound
aplay $sound

to use alsa sound server instead default library.

Posted in Linux | Tagged , , , , , , , , , , | 4 Comments