Install drush on shared hosting

How to install drush on shared hosting :

1. Go to your server like


2. Go to your home folder by typing

 cd ~ 

3. Type this


(I have not used drush 7 because it needs composer, so i was unable to install composer on shared hosting, if you help me in that i can buy a coffee for you)
4. Edit .bashrc file in your favorite editor may be nano, vi or vim.
5. Look for

How to remove ^M at the end of every line

Hi, today i just gone through a serious problem between windows and unix.

Problem description:

Whenever i move file from windows to UNIX with winscp. Every line got ^M at the end in every file.


I opened that file in vi and done this

 Where ^ is (Control V) and M is (Control M).
It will remove all the trailing ^M at the end of every line.

Git in 2 days(Git Cheat Sheet)

First of all, i m very sorry for not updating my blog for a long time. I was very busy in office stuff, finally now am back with more concentration and Power.
Here I m sharing some commands for my new girlfriend GIT. i hope you like, if yes then don't forget to comment below.
If you know all this, may be its time to revise again.

git clone

// to clone a existing repository


Subscribe to RSS - blogs