Hi mahmoud.marie@dpworld.com,
You can view the commands run from the interactive-commands/cli-commands file from the /var/log directory.
To check which of the above file exists on your device, please run:
>file list /var/log detail ---------------------------> Check if the list has either interactive-commands or cli-commands file.
To view the log file content from CLI, please execute below from operational mode (based on the log file you see from the above list output):
show log interactive-commands
show log interactive-commands.0.gz
show log interactive-commands.1.gz
For more previous logs, you can keep checking further by checking for interactive-commands.2.gz, interactive-commands.3.gz and so on
OR
show log cli-commands
show log cli-commands.0.gz
show log cli-commands.1.gz
The above should ideally cover past 3 days logs. If not, for more previous commands run, you can keep checking further by checking for cli-commands.2.gz, cli-commands.3.gz and so on
I hope this helps. Image may be NSFW.
Clik here to view.
Please mark "Accepted Solution" if this helps you solve your query.
Kudos are always appreciated!