tips

Shutdown from command line, the easy way

Being stupid with friends a couple of nights ago, this is the way I shutdown my laptop (fixing a typo, you know):

echo "sudol init 0" | sed 's/sudol//'|xargs sudo

Using xargs makes me feel better.

Drupal: changing "files" directory configuration setting

I spent a great of yesterday morning re-organizing the directory structure on my webhost, where this site along with my client’s ones are stored.

Subscribe to RSS - tips