Fine software projects, news and thoughts from the Linux world.

CFS scheduler to appear in Linux kernel 2.6.23

The Linux kernel process scheduler, as you know it, has been completely ripped out and replaced with a completely new one called Completely Fair Scheduler (CFS). How fair it will be, remains to be seen, but in the meantime here's what its original creator Ingo Molnar has to say on the subject:

80% of CFS's design can be summed up in a single sentence: CFS basically models an "ideal, precise multi-tasking CPU" on real hardware.


How to cleanup your GNOME registry?

[img_assist|nid=1030|title=|desc=|link=none|align=left|width=100|height=114]The other day I stumbled upon this neat tool that helps cleanup your GConf registry, called GConf Cleaner. While GNOME registry size isn't nowhere near the size of Windows registry, and thus shouldn't slow your computer too much, it's still nice to have a tool that cleans unused and obsolete entries.

Meet GConf Cleaner

The Linux Development Platform

[img_assist|nid=890|title=|desc=|link=none|align=left|width=125|height=167]By Rafeeq Ur Rehman, Christopher Paul.
Published by Prentice Hall
Series: Bruce Perens' Open Source Series.

Book Description

Tools for high-efficiency Linux development in enterprise environments.

The Easiest Linux Guide You'll Ever Read

Published by Scott Morris – SUSE LINUX Rants

An Introduction to Linux for Windows users

Replaying terminal sessions with scriptreplay

OK, this is so cool and sexy, I really don't understand how I didn't find about this earlier. Possibly because it's the recent add-on to the well known script utility?

So, I suppose you all know about script. You type script, do your work, type exit, and you have your complete session logged in the file named typescript. Quite handy if you want to log everything you did in the shell for whatever reasons.

Two ways to force SSL on your website

Two solutions, both to be put in the .htaccess file, when you want to force your website visitors to go through SSL:

Solution A:

RewriteEngine On
RewriteCond %{SERVER_PORT} !443$
RewriteRule ^(.*)$$1 [L,R]

Solution B:

RewriteEngine on
RewriteCond %{HTTPS} !^on$ [NC]
RewriteRule . https://%{HTTP_HOST}%{REQUEST_URI} [L]

Pick whatever solution looks nicer for you.


What to do if you forget root password?

Although this may seem like a small catastrophe to you, it's actually very easy to recover from that situation. What you need to do is to reboot (power on) your system, but on the LILO prompt you should type something like:

LILO: Linux init=/bin/sh rw

Where Linux is the example image name, you should supply the actual data, of course. And same parameters should be provided to GRUB or any other boot loader you might use.


How to grep for IP addresses using the GNU egrep utility

This is an useful regular expression if you're looking for IP addresses:

egrep '([[:digit:]]{1,3}\.){3}[[:digit:]]{1,3}'

How to sort IP addresses using the GNU sort utility


Your favorite packaging format?

59% (1194 votes)
13% (272 votes)
13% (272 votes)
11% (226 votes)
4% (72 votes)
Total votes: 2036

How to flash motherboard BIOS from Linux (no DOS/Windows, no floppy drive)?

[img_assist|nid=859|title=|desc=|link=none|align=left|width=180|height=155]You've finally made the move to a Windows-free computer, you're enjoying your brand new Linux OS, no trojans/viruses, no slowdown, everything's perfect. Suddenly, you need to update the BIOS on your motherboard to support some new piece of hardware, but typically the motherboard vendor is offering only DOS based BIOS flash utilities. You panic! Fortunately, this problem is easy to solve...

Step 1: Download FreeDOS boot disk floppy image


Subscribe to LinuxInsight RSS