Hello Mahmoud,
There is NO CLI command to see the history of show commands ran on the device.
You can use the interactive-commands to see which user has typed what command:
A common set of operations you can check is when users log in to the router and the CLI commands they issue.
labroot@re0> file list /var/log/ detail |match inter
-rw-rw---- 1 root wheel 197805 Jun 9 13:01 interactive-commands
The JUNOS factory configuration file includes the interactive-commands any statement at the [edit system syslog file interactive-commands] hierarchy level. It creates the file /var/log/interactive-commands and records in it all messages from the interactive-commands facility.
For reference:
I hope this helps. Please mark this post "Accept as solution" if this answers your query.
Kudos are always appreciated!
Best Regards,
Lingabasappa H