In the previous post I wrote about how to speed-up your (Gentoo) system by using the SquashFS filesystem. I had described shortly an experiment of compressing the /usr folder into a SquashFS image (which will become smaller and will boost…
Magic SysRq key
Nothing special to add about the magic SysRq key than http://en.wikipedia.org/wiki/Magic_SysRq_key. According to the mentioned link above "the magic SysRq key is a key combination understood by the Linux kernel, which allows the user to perform various low-level commands regardless…
Suspend laptop Linux with 1 line of code
I have Gentoo with Xfce desktop environment. It has a xfce4-session-logout command which displays a logout-suspend-shutdown confirmation screen where you can choose what you want to do. Sometimes I only need to suspend to RAM the session and I want…
Stopwatch in BASH
I was needing a stopwatch in bash and searching on Google I've found a very simple implementation: time read Source: http://www.2ality.com/2010/10/use-bash-as-stop-watch.html
Alternative to Xfce calendar panel
I don't want to install and use the Xfce calendar plugin, because 99% of time I don't need it (so why should I keep the laptop memory busy all the time with something that I rarely use?) As alternative I…
List TOP n memory consuming processes in Linux
From time to time I need to check my systems memory usage and what processes is consuming the most of it. Sure, there is a ps command or a top command which can handle well this kind of job, but…