Recently I configured the next MikroTik and I had to share the configuration, so, to see it in the terminal, execute the command:
/export compact
To save the configuration to a file, execute the command:
/export compact file=config
After saving the file will be in the device’s memory, you can see it and download it from the Files menu via the web interface or winbox, ftp, smb, sftp.