Get or set your site uuid with drush in Drupal 8

From time to time it comes in quite handy to import configuration from other websites into yours. You site uuid is unique though, with the following snippet you get yours.

drush config-get "system.site" uuid

To set the uuid in drush:

drush cset system.site uuid 9b13adbf-0da5-4937-a731-xxxxxxxxxxx -y

No comments:

Write a program in PHP to reverse a number

A number can be written in reverse order. For example 12345 = 54321 <?php   $ num = 23456;   $ revnum = 0;   while ($ num > 1)   {   $...