unix

Useful Unix commands

Create archive:

tar -czvf theme.tgz theme_directory

v - to show process

To unarchive:

tar -xvf theme.tgz

To copy file to the server with SCP:

scp theme.tgz ubuntu@10.10.0.1:/var/www/drupal/web/themes/

Add the user ubuntu to the www-data group:

Subscribe to unix