How to add color to ‘ls’?
Adding color to your ls directory listings is easy enough, just use ls –color. You can set this behavior as the default with alias ls=’ls –color’ which I personally find quite useful. It plays well with PuTTY.
The environment variable LS_COLORS dictates what colors are applied to what file types and file extensions.
(more…)
Tags: color, export, Linux, ls, putty, shell
Grub (and LILO too for that matter) has a useful ‘failsafe’ feature that can be configured. This proves especially useful for remote kernel upgrades, where a failed boot will render your machine offline and unavailable.
Here is my standard grub config. I have just added my new 2.6.28 kernel.
(more…)
Tags: 2.6.18, 2.6.28, boot, color, debian, default, failsafe, grub, initrd, kernel, kernel panic, kernel upgrade, network interface, panic, reboot, root, title, uname