Get the IP of a virtual machine on libvirt enviroment with bridge-nat network setting.
$ virt-ip virtualdomain
192.168.122.101
Lock the screen with gnome-screensaver and set yours monitors on standby mode.
Share files or directories on your local network vía HTTP. It give an URL and set it on your "clipboard" if you have installed xclip on your system.
$ share_this file.pdf
http://yourhostname:8000/file.pdf
xclip command isn't found, can't copy uri to clipboard
Ctrl + C stop the server
Show a inotify alert when is called. If you have beep instaled it can make beeps sounds too.
$ rsync very-long-directory new-directory ; alert-when-finish
Delete *.pyc and *~ files
With iptables you can't forward port to loopback interfaces like lo / 127.0.0.1. You can use "socat" utility to do this or forward to another host/port.
$ socat-forward-tcp-port 192.168.122.101:8000 8000
Are you debugging socket communications? you can use tcpdump/ngrep but this are some complex to get all the data in the communcations. I use this script to debug http Dovecot <-> Solr communication.
$ socat-tcp-proxy-sniffer 192.168.122.101:8000 8000
Add another mouse for "multitouch" simulation (you must modify this)
Clean linux system cache (pagecache, dentries and inodes)
$ flush-system-cache
This script start a foreground smtp python email emulator which print to the stdout the emails received. Sudo command is required.
$ fake-mail-server
This script send a test email using one smtp server given
$ testmail.py localhost from@example.com to@example.com