Some commands used in the tutorial

Change the password security setting to recommended:

$ php bin/magento config:set admin/security/password_is_forced 0

Show the email address for the sales order auto copy functionality

$ php bin/magento config:show sales_email/order/copy_to

Show the empty result for a configuration that has a value in the admin

php bin/magento config:show trans_email/ident_sales/email

Mysql queries used in the tutorial

SELECT * FROM core_config_data WHERE path = 'sales_email/order/copy_to';

SELECT * FROM core_config_data WHERE path = 'sales_email/order_comment/copy_to';

SELECT * FROM core_config_data WHERE path = 'trans_email/ident_sales/email';

Where to find the default sales email

How to find the configuration value that is defined somewhere in codebase?
grep -rnw vendor/magento/ -e 'sales@example.com'

To view a page in terminal and show line numbers cat -n vendor/magento/module-email/etc/config.xml

Additional resources

Previous pageAdmin Grids and filters
Next pageConfigure Commerce Services Connector

Commerce