Color in bash

This is the line defining my bash prompt in .bashrc, using some colors:

PS1=’\[\e[0;32m\][\u@\H\[\e[m\] \[\e[1;34m\]\w\[\e[m\] \[\e[0;32m\]]\[\e[1;32m\]\$\[\e[m\] \[\e[0m’

This is what my prompt looks like:

If I’m not wrong, the characters in bold give the content of the prompt, the other ones are color-codes.

I currently haven’t found out how to use this prompt by default for all users, even existing . . . → Read More: Color in bash

Installing Archlinux with software raid1, encrypted filesystem and LVM2

On the web, you’ll find how to setup ArchLinux with LVM, or with RAID, or with encryption, but not with the combination of these three technologies.  This article explains the different steps I took to setup these three technologies with ArchLinux.

Required skills:

Sound understanding of Linux (ArchLinux specifics may be useful…) and raid, lvm2, partitioning, encryption.

The story

During . . . → Read More: Installing Archlinux with software raid1, encrypted filesystem and LVM2