commandlinefu.com is the place to record those command-line gems that you return to again and again.
You can sign-in using OpenID credentials, or register a traditional username and password.
Subscribe to the feed for:
A useful way to do a full check and auto repair damaged databases
A simple way using a for loop
Simple way to get a timestamp from a date
If you have a file full of numbers written line by line, you can sum every line to get the total.
With a file like this:
you will got:
You need the RANDR support enable, to enable it with an ATI card run:
To show your available output run:
xrandr -q -d [yourdisplay]