Useful SSH Commands

Curl, or Copy URL

Download and extract drupal directly into your web root:
curl -s http://ftp.drupal.org/…-5.11.tar.gz | tar xvzf – –strip-path 1
Beware, this will overwrite /sites/default/settings.php

Comments

-strip-components

--strip-path option has been renamed to –strip-components