A nifty little default linux command that will rename all the files extensions in a directory.

Change all htm files to html.

rename .htm  .html *.htm

DSH – Dancer’s Shell a.k.a Distributed Shell

This tool is also great to have in the toolbox to remotely administer servers.

MySQL – Server is Gone error can be avoided by:

The easy way to avoid this problem is to ensure that max_allowed_packet is set bigger in
the mysqld server than in the client and that all clients uses the same value for