Chris Schuld's Blog

personal musings on the composition of software

Written By: Chris Schuld Tuesday, November 11th, 2008

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
Categories: Linux

One Response to " Stopping the screen blanking on the command line in linux "

  1. Draugen says:

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

Leave a Reply

About Chris

Chris Schuld

Thank you for visiting my website. I use this site for a myriad of things: maintaining software I have open sourced, connecting with my readers and friends and documenting all of this little things "I wished I would have written down." You can read more about me or contact me.


thanks for visiting... happy coding

Recent Comments