How to save CPU and life of battery.

apt-get install cpufrequtils

next step:

cpufreq-set -g performance

if have 2 cpu:

cpufreq-set -c1 -g performance

get more information about your cpu by:


Which governor to use? Available governors:

* performance (default) — The performance governor is built into the kernel and runs the CPU(s) at maximum clock speed
* cpufreq_ondemand (recommended) — Dynamically increases/decreases the CPU(s) clock speed based on system load
* cpufreq_conservative — Similar to ondemand, but more conservative (clock speed changes are more graceful)
* cpufreq_powersave — Runs the CPU at minimum speed
* cpufreq_userspace — Manually configured clock speeds by user

I use at home “performance” and “powersave” on travel with my laptop.

How do I find text within files in Linux ?

This document is for users looking for information about finding text within one or more files on their computer. One of the easiest methods of locating text contained within a file on a computer running Linux is to use the grep command. Below is a basic example of a command used to locate any file containing the word “linux”.

find / -type f -exec grep -H 'linux' {} ;

Added by the LiNiO long before his died:
try also:
fgrep -rw linux path

Debian Squeeze 6.0 released.

The Debian 6.0 release is now available. Debian 6.0 includes over 10,000 new packages like the browser Chromium, the monitoring solution Icinga, the package management frontend Software Center, the network manager wicd, the Linux container tools lxc and the cluster framework Corosync. With this broad selection of packages, Debian once again stays true to its goal of being the universal operating system. It is suitable for many different use cases: from desktop systems to netbooks; from development servers to cluster systems; and for database, web or storage servers. At the same time, additional quality assurance efforts like automatic installation and upgrade tests for all packages in Debian’s archive ensure that Debian 6.0 fulfils the high expectations that users have of a stable Debian release. It is rock solid and rigorously tested. The next development phase, code-named “wheezy” starts now.

Well now, my laptop has been updated to “wheezy”, as a matter of fact I always use on my laptop testing distribution.
Continue reading “Debian Squeeze 6.0 released.”