I forgot to take note of the admin URI during installation.
Is there a way to retrieve it?
Go to app/etc from the root directory of your Magento 2 store. Here you can see env.php file and you can see the admin name:
<?php return array ( 'backend' => array ( 'frontName' => 'admin', )
You can also change the admin name by running the command in the root directory:
php bin/magento setup:config:set --backend-frontname="magento"
The above command will change the admin name as magento. You can access the admin panel by: www.domain.om/magento
Quick answer (Through file system):
You can also retrieve the the Magento 2 Admin URL in
<your Magento install dir>/app/etc/env.php. Example of the relevant file content:
'backend' => array ( 'frontName' => 'admin_test', ),
Quick answer (Using CLI):
php bin/magento info:adminuri
newadminpath is the new Magento 2 Admin URL