I have been experimenting with Cloudways and Digital Ocean as a hosting solution.
I am attempting to set up Drush and have been following some instructions provided by GoDaddy.
The notes appear up to date and well written - See https://uk.godaddy.com/help/how-to-install-drush-on-cpanel-shared-hosting-12396 . I am not using cPanel but I do not think this should matter.
When entering
echo "alias drush='~/drush/drush'" >> .bashrc
The system returns
echo "alias drush='~/drush/drush'" >> .bashrc
bash: .bashrc: Permission denied
The same also happens with sudo
After continuing with rest of the instructions Drush is now installed but does not seem to be available for the public_html directory. I'm guessing that the GoDaddy instructions are missing a step or are not quite compatible with this environment.
I have provided an example of a Features download (below) and as can be seen, the download is being placed in the drush directory and not sites/all/modules
[master_vkhgjqkyfv]:public_html$ drush dl features
Project features (7.x-2.8) downloaded to /home/master/.drush/features.
Can anybody say what I need to do to get this working properley?