cp /etc/X11/xorg.conf{,.bak}
Searching your bash/zsh history:
To search your history press CTRL+R and then type part of the command you are looking for. Keep pressing CTRL+R to go through the results.
Here is a quick script I put together to be able to see what song is currently playing from Spotify on my Z-10 speakers.
Download here : g15spotify.zip
Released under the GPL 2.0
Please note this is my first 'big' bash script so please let me know about any problems/improvements needed.
Loosely based on G15 Amarok Plugin Plus by Robert Riemann
http://www.kde-apps.org/content/show.php/G15+Amarok+Plugin+Plus?content=76743