Stopping the screen blanking on the command line in linux

We have a server in my office we reference a lot.  After X time period it would fall asleep and someone would have to hit the keyboard to see the latest information.  After digging for a bit (and never really finding the answer) I figured it out and decided to document it because I will forget next time this occurs!

 
setterm -blank 0
setterm -powersave off

You have to do this from the terminal console and not a remote shell (which, would actually make no sense) or you will see this message:

cannot (un)set powersave mode

1 Comment so far »

  1. Draugen said

    December 1 2008 @ 4:28 pm

    hehe, well done. Was not even looking for this info, but it is one of many things which I have been wondering about. Thanks.

Comment RSS · TrackBack URI

Leave a comment

Name: (Required)

Email: (Required)

Website:

Comment: