Drush command not found

Not applicable

Hi,

I have installed developer portal and after that try to run drush commands but its saying "-bash: drush: command not found".

[root@Host drush]# drush status

-bash: drush: command not found

[root@Host drush]# pwd

/usr/local/share/drush

Even i tried to run from /usr/local/share/drush and /usr/local/bin still same issue.

I can see file exist.

[root@Host drush]# cd /usr/local/bin

[root@Host bin]# ls -l

-rwxr-xr-x 1 root root 1840920 May 9 08:45 composer

lrwxrwxrwx 1 root root 28 May 9 08:45 drush -> /usr/local/share/drush/drush

[root@Host bin]#

Solved Solved
0 1 2,656
1 ACCEPTED SOLUTION

Not applicable

Issue fixed now, i added environment variable /usr/local/share/drush to PATH and it worked.

Regards,
Madhu

View solution in original post

1 REPLY 1

Not applicable

Issue fixed now, i added environment variable /usr/local/share/drush to PATH and it worked.

Regards,
Madhu