Forgot Drupal admin password on Local

Suppose you are working on local PC having LAMP and forgot drupal admin password although you don't have local email client working on your system.

So you are unable to recover the drupal admin password.

Then got to drupal root path

 cd /var/www/drupal 
 ./scripts/ yournewpassword 

it will generate key like this

password: yournewpassword hash: $S$DegAWQYpYTOHmADPhoFXEUJkf8iFuMHOHPq3yuGPPjfnVWa7wMge 

Copy only hash part that is

Install Symfony on Ubuntu

As you all know drupal 8 is using Symfony Components. That is the main reason of switching to symfony.
While i was reading this book Symfony.
Here is the first article how to install Symfony on Ubuntu machine.
Note: Don't copy the Dollar($) ofcourse.

1. Open your command console and execute the following commands:

$ sudo curl -LsS -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony

2. Creating the Symfony Application

Working on and reviewing patchs)

From last two months i was contributing to
On D.O. i have created several patches for drupal core code as well as documentation.
Here is the link of my profile on
Davinder on
Here is the list of patched that i helped to close the different drupal core issues.
Patches Contributed to Drupal 8 Core
List of reviews of different patches by me on


Subscribe to Davinder Kumar RSS