Display the current mode
User below commnad for make sure which mode currently are nunning.
Command
php bin/magento deploy:mode:show
If you want to know. your Magento 2 website is running on which environment you can run below command on terminal and very easily you can kn...