Can we retrieve the executed command history in LTM and GTM?

Can we retrieve the executed command history in LTM and GTM?

If it is possible please provide the steps.

If they are remote users:

scp bigip:/home/f5_remoteuser/.tmsh-history* .

I suspect it’s different for local users, but I don’t have any so I can’t validate that presently. Something like this would probably work more generally:

scp bigip:/home/*/.tmsh-history* .