I want to see command log

Description:

[Detailed description of the issue or question]

xbcloud get --storage=[storage-type] --s3-endpoint=[s3-url] --s3-access-key=[access-key] --s3-secret-key=[secret-key] --s3-bucket=[bucket-name] [backup-file-name] | xbstream restore -x -C [backup-file-path]

xtrabackup --decompress --target-dir=[backup-file-path]

xtrabackup --prepare --target-dir=[backup-file-path]

systemctl stop mysql

xtrabackup --copy-back --datadir=[restore-file-path] --target-dir=[backup-file-path]

this command is restore command
pmm server → pmm client

I want to save command log.
Or can I know the file where these command logs are stored?

Thank you