How to find the Magento 2 backend's base URL using the command line?

You can find the backend’s URL suffix with grep:

grep "frontName" app/etc/env.php

The full Magento 2 backend’s base URL is <frontend base URL>/<backend suffix>.

If you are uncomfortable with the command line, then you can find the backend’s suffix using GUI.

See also: