Execute last command as root

Re-run previously entered command as root user.

sudo !!

!! is automatically substituted to the content of the previous command. Turning the above line into sudo <your command here>.

Continue reading

Control memcached from the command line  bash

memcached is a general-purpose distributed memory caching system originally developed by Danga Interactive for LiveJournal but now used by many other sites. It is often used to speed up dynamic database-driven websites by caching data and objects in RAM to reduce the number of times an external data source (such ... More

Discussion