In Debian 9/10 use su www-data -s /bin/sh to get back to root just type exit
How to change the url in a WordPress database using wp-cli
Using WP-CLI it’s possible to change the website address with this command line
How to export customers from WooCommerce with wp-cli
This is a very usefull feature of wp-cli that allows you to create a list of WooCommerce customers in csv format with a single command line command: wp wc customer list –user=username –format=csv > customers.csv where username is the user that has the administrator power to see all the possible …
Leggi tutto “How to export customers from WooCommerce with wp-cli”