Archive

Archive for the ‘linux’ Category

Scrolling on GNU Screen

June 9th, 2009 No comments

Interesting tip for those using GNU Screen. If you need to scroll up and see output already hidden from the screen, just press

Ctrl + A , [

This will get you into “copy mode”. I didn’t look around for how to actually copy, but you can scroll with the arrow keys.

To get out of copy mode, just press “[” again.

Categories: linux Tags:

Notebook HD problems with linux

November 17th, 2007 No comments

This post has alerted me of a big problem on laptop HDs that apparently happens to Linux users (according to other post from this same author, Vista has the same issue). It seems that the power-saving technologies keep telling the hard drive heads to sleep, while Linux keeps telling the drive to read or write something down. This wake-sleep-wake process consumes the life-time of the drivers to the point of failling hardware within an year.
The current workaround is to shutdown power management to hard disks with hdparm “hdparm -B 254 /dev/sda” (or /dev/hda, depending on your configuration).
More detailed info can be found on Ubuntu Bug at Launchpad.

Powered by ScribeFire.

Categories: linux Tags:

How to tell which Linux distro you are using?

August 21st, 2007 2 comments

If you ever managed more than a few Linux servers, you may have found yourself in a situation where you don’t know which distro a particular server is using. I used to cat /proc/version to get a rough idea. But a friend of mine from work just gave me this tip:


cat /etc/issue

Simple, easy and objective!

Hope this help you out!

Categories: linux Tags: