This easy snippet can help you if you want information about your current drupal version, files folder etc.

 Drupal version   : 8.9.2
 Site URI         : http://mysite.dev
 DB driver        : mysql
 DB hostname      : x
 DB port          :
 DB username      : x
 DB name          : x
 Database         : Connected
 Drupal bootstrap : Successful
 Default theme    : mytheme
 Admin theme      : seven
 PHP binary       : /usr/local/bin/php
 PHP config       : /tmp
 PHP OS           : Linux
 Drush script     : /usr/local/bin/drush
 Drush version    : 9.7.2
 Drush temp       : /tmp
 Drush configs    : /html/vendor/drush/drush/drush.yml
 Install profile  : standard
 Drupal root      : /html/web
 Site path        : sites/start
 Files, Public    : sites/start/files
 Files, Private   : /files
 Files, Temp      : /tmp

 


Saved you some valuable time?

Donate and get more free time-saving code on this website in the future.