[support] drush and drupal

Benj Fredrick benj.fredrick at gmail.com
Wed May 2 15:35:21 UTC 2012


after adding an alias or updating your $PATH environment variable, you
would be able to use the 'drush' command from anywhere without typing the
full path to it.

Wikipedia has some decent info on aliases:
https://en.wikipedia.org/wiki/Alias_(Unix_shell)

-Benj
http://dtek.net


On Tue, May 1, 2012 at 11:34 PM, Vaibhav Jain <in.vaibhavjain at gmail.com>wrote:

> Thanks Benj, that would help,
> Used to do this for CVS, didnt knew it can be done for Drush too.
> Can you also provide some info as to how to use the alias.
>
>
> On Wed, May 2, 2012 at 10:28 AM, Benj Fredrick <benj.fredrick at gmail.com>wrote:
>
>> you could save some typing by either updating your $PATH environment
>> variable, or adding an alias to drush - both can be done in your .bashrc
>> file (a hidden file in your home directory - log out and back in for the
>> file to be re-read):
>>
>> alias drush="/opt/drush/drush"
>>
>> -OR-
>>
>> export PATH="/opt/drush/drush:$PATH"
>>
>> (obviously, change that path as appropriate)
>>
>> hope that helps someone :)
>> -Benj
>> http://dtek.net
>>
>>
>> On Tue, May 1, 2012 at 9:51 PM, Vaibhav Jain <in.vaibhavjain at gmail.com>wrote:
>>
>>> You just need to keep the unzipped version of drush on your server, and
>>> then run any commands
>>> like
>>> /path/to/drush command-to-run
>>> I do it this way
>>> /opt/drush/drush cache-clear all
>>>
>>>
>>> On Wed, May 2, 2012 at 6:47 AM, Luc <Luc at dzinelabs.com> wrote:
>>>
>>>> Good evening list,
>>>>
>>>> I'm thinking about using drush and after going over the drush page i'm
>>>> still having some basic questions about it. I hope somebody can
>>>> enlighten me ...
>>>>
>>>> 1) my box is an xp sp3, so i need the windows installer to install it
>>>> on my pc, correct?
>>>> 2) i'm on a shared host, do i need (ask the host) to install something
>>>> on the server
>>>> also?
>>>>
>>>> Step 1 and 2 done: ready to use drush?
>>>>
>>>> --
>>>> Regards,
>>>>  Luc
>>>> _________________________
>>>>
>>>> http://www.dzinelabs.com
>>>>
>>>> --
>>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> Vaibhav Jain
>>>
>>> --
>>> [ Drupal support list | http://lists.drupal.org/ ]
>>>
>>
>>
>> --
>> [ Drupal support list | http://lists.drupal.org/ ]
>>
>
>
>
> --
> Regards,
> Vaibhav Jain
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20120502/fbd8807f/attachment.html 


More information about the support mailing list