document control.txt
If functional (#40947 (closed)), then on Debian:
sudo cat /run/tor/control.txt
PORT=127.0.0.1:9052
...
UNIX_PORT=/run/tor/control
In Tor source code does not mention control.txt literally. Also not web search results for control.txt yet at time of writing. I am however pretty sure it is creatd by Tor since Tor source code file src/feature/control/control.c mentions PORT= and UNIX_PORT=.