SSH

Using Drush to install a particular tagged release of a module

cd to your drupal install or into a specific site under a multi-site install.

Instead of the normal command:
{syntaxhighlighter brush:bash;}
drush dl cck
{/syntaxhighlighter}

Use this:

Add sudoer User to the sudoers file

Open terminal and type:
*This must be done from the root account or an account that already has sudo abilities.

Copy a file from one directory to another and rename it in linux

Copy a file from one directory to another and rename it in linux

Syntax:
{syntaxhighlighter brush:bash;}

Move the contents of a directory from one directory to another in linux

Move the contents of a directory from one directory to another in linux

Syntax:
{syntaxhighlighter brush:bash;}
mv /home/USERNAME/public_html/old/foo/* /home/USERNAME/public_html/new/bar

Remove a directory and all of its contents without confirmation in linux

To remove a directory and all of its contents without a yes/no prompt confirmationon each delete on a linux server. Use sudo if you need to

Syndicate content